dtcreate/CreateActionAppShell.c: coverity CID 175092; uninit ptr read
authorJon Trulson <jon@radscan.com>
Mon, 2 Apr 2018 00:35:14 +0000 (18:35 -0600)
committerJon Trulson <jon@radscan.com>
Mon, 2 Apr 2018 00:35:14 +0000 (18:35 -0600)
cde/programs/dtcreate/CreateActionAppShell.c

index d4987e5f3a13fa83b5892e45977117433cdda82e..4818fc787a818e400858d7238f787e8370c3b446 100644 (file)
@@ -249,7 +249,7 @@ void  activateCB_CA_MB_FileSave(Widget UxWidget,
 
 {
   ushort   usRc = 0;
-  char     *pszActionFile;
+  char     *pszActionFile = NULL;
   char     *msgPtr, *bufPtr;
   Boolean  bHaveError = FALSE;
   struct   stat statbuf;