From 8d56e206a2d2a2d1e136b2399e261bdee80586e5 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 16 Sep 1999 20:20:10 +0000 Subject: [PATCH] (get_fallback): Remove unused variable. (x_load_resources): Ditto. Put local variable used for Motif only in #ifdef USE_MOTIF. --- src/xrdb.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.39.5