summaryrefslogtreecommitdiff
path: root/src/xrdb.c
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>1999-09-16 20:20:10 +0000
committerGerd Moellmann <gerd@gnu.org>1999-09-16 20:20:10 +0000
commit8d56e206a2d2a2d1e136b2399e261bdee80586e5 (patch)
treeb98e104c2ea67e70996be67c26fdb4a3c88bae03 /src/xrdb.c
parent15b0ced5c270350656a78f16b5c65348b0aa8956 (diff)
downloademacs-8d56e206a2d2a2d1e136b2399e261bdee80586e5.tar.gz
(get_fallback): Remove unused variable.
(x_load_resources): Ditto. Put local variable used for Motif only in #ifdef USE_MOTIF.
Diffstat (limited to 'src/xrdb.c')
-rw-r--r--src/xrdb.c5
1 files 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