changeset 25749:275227ca3c0c

(get_fallback): Remove unused variable. (x_load_resources): Ditto. Put local variable used for Motif only in #ifdef USE_MOTIF.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 16 Sep 1999 20:20:10 +0000
parents 6fddda6e635e
children f1968a807f56
files src/xrdb.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xrdb.c	Thu Sep 16 20:20:01 1999 +0000
+++ b/src/xrdb.c	Thu Sep 16 20:20:10 1999 +0000
@@ -398,8 +398,6 @@
 get_fallback (display)
      Display *display;
 {
-  XrmDatabase db;
-
   return NULL;
 }
 
@@ -524,14 +522,15 @@
      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