From c6a74b2516d0d37cc096080dd7f1414ba5259325 Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Mon, 22 Feb 2021 17:45:43 -0800 Subject: [PATCH] XrmParseCommand and XrmMergeDatabases depend on destination database being initialized. (#366) --- src/xrdopt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrdopt.c b/src/xrdopt.c index 20e4f5f1..9d832a13 100644 --- a/src/xrdopt.c +++ b/src/xrdopt.c @@ -136,7 +136,7 @@ void print_Xusage(const char *prog) void read_Xoption(int *argc, char *argv[]) { int bitmask; - XrmDatabase commandlineDB, applicationDB, serverDB, rDB; + XrmDatabase commandlineDB = NULL, applicationDB, serverDB, rDB = NULL; XrmValue value; char *str_type[30], tmp[1024], *envname; Display *xdisplay;