From: Jon Trulson Date: Wed, 11 Apr 2018 18:29:07 +0000 (-0600) Subject: dtfile/FileDialog: CID 88141,88451,88658,89058 X-Git-Tag: 2.2.4a~109 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dd03c9cbf7f77407958721dc4746f1f9cef6fc64;p=oweals%2Fcde.git dtfile/FileDialog: CID 88141,88451,88658,89058 --- 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];