From: Gerd Moellmann Date: Thu, 16 Sep 1999 20:20:10 +0000 (+0000) Subject: (get_fallback): Remove unused variable. X-Git-Tag: emacs-pretest-21.0.90~6693 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8d56e206a2d2a2d1e136b2399e261bdee80586e5;p=emacs.git (get_fallback): Remove unused variable. (x_load_resources): Ditto. Put local variable used for Motif only in #ifdef USE_MOTIF. --- diff --git a/src/xrdb.c b/src/xrdb.c index 92cc53aa433..ed3628f5265 100644 --- a/src/xrdb.c +++ b/src/xrdb.c @@ -398,8 +398,6 @@ static XrmDatabase get_fallback (display) Display *display; { - XrmDatabase db; - return NULL; } @@ -524,14 +522,15 @@ x_load_resources (display, xrm_string, myname, myclass) Display *display; char *xrm_string, *myname, *myclass; { - char *xdefs; XrmDatabase user_database; XrmDatabase rdb; XrmDatabase db; char line[256]; char *helv = "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1"; +#ifdef USE_MOTIF char *courier = "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1"; extern Lisp_Object Vdouble_click_time; +#endif x_rm_string = XrmStringToQuark (XrmStringType); #ifndef USE_X_TOOLKIT