From dd03c9cbf7f77407958721dc4746f1f9cef6fc64 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Wed, 11 Apr 2018 12:29:07 -0600 Subject: [PATCH] dtfile/FileDialog: CID 88141,88451,88658,89058 --- cde/programs/dtfile/FileDialog.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cde/programs/dtfile/FileDialog.c b/cde/programs/dtfile/FileDialog.c index 406afc1e..a3e472d0 100644 --- a/cde/programs/dtfile/FileDialog.c +++ b/cde/programs/dtfile/FileDialog.c @@ -1478,10 +1478,10 @@ RenameOk( XtPointer call_data ) { DialogCallbackStruct * call_struct = (DialogCallbackStruct *)client_data; - char *title; + char *title = NULL; char *msg = NULL; char *new_name = NULL, *new_dir = NULL, new[MAX_PATH]; - unsigned int btnMask; + unsigned int btnMask = 0; RenameDoneData *data; char to_host[256]; char to_dir[MAX_PATH]; @@ -1937,7 +1937,7 @@ ShowMakeFileDialog( DialogData * dialog_data; FileMgrData * file_mgr_data; - Widget shell; + Widget shell = NULL; Widget form; Widget new_name; Widget new_text; @@ -1952,7 +1952,7 @@ ShowMakeFileDialog( int flag=FLAG_RESET; DialogCallbackStruct * call_struct; - char * tmpStr, *tempStr; + char * tmpStr = NULL, *tempStr = NULL; XmString label_string; Arg args[20]; -- 2.25.1