From 694b6ef5ebc26a1da7694e1ed1fbf5d35939b1b9 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Wed, 11 Apr 2018 11:53:39 -0600 Subject: [PATCH] dtfile/Prefs: CID 88095,88407,89162,89164,89283,89445 --- cde/programs/dtfile/Prefs.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cde/programs/dtfile/Prefs.c b/cde/programs/dtfile/Prefs.c index 0b8143c4..c092c941 100644 --- a/cde/programs/dtfile/Prefs.c +++ b/cde/programs/dtfile/Prefs.c @@ -1743,7 +1743,7 @@ ShowTypeToString( unsigned char *value, char *out_buf ) { - char * buf; + char * buf = NULL; if (*value == SINGLE_DIRECTORY) buf = Single_directory; @@ -1804,7 +1804,7 @@ TreeFilesToString( unsigned char *value, char *out_buf ) { - char * buf; + char * buf = NULL; if (*value == TREE_FILES_NEVER) buf = Tree_files_never; @@ -1869,7 +1869,7 @@ ViewToString( unsigned char *value, char *out_buf ) { - char * buf; + char * buf = NULL; if (*value == BY_NAME) buf = By_name; @@ -1939,7 +1939,7 @@ OrderToString( unsigned char *value, char *out_buf ) { - char * buf; + char * buf = NULL; if (*value == ORDER_BY_FILE_TYPE) buf = Order_by_file_type; @@ -2008,7 +2008,7 @@ DirectionToString( unsigned char *value, char *out_buf ) { - char * buf; + char * buf = NULL; if (*value == DIRECTION_ASCENDING) buf = Direction_ascending; @@ -2032,7 +2032,7 @@ RandomToString( unsigned char *value, char *out_buf ) { - char * buf; + char * buf = NULL; if (*value == RANDOM_ON) buf = Random_on; -- 2.25.1