dtmail: Resolve uninitialized warnings

This commit is contained in:
Peter Howkins
2021-12-22 01:18:40 +00:00
committed by Jon Trulson
parent 85268b3476
commit 72b59ec869
7 changed files with 17 additions and 9 deletions

View File

@@ -404,7 +404,7 @@ char *
DtMailEnv::getMessageText(int set, int msg, char *dft)
{
static int oneTimeFlag = 0; // Only attempt to open message catalog once
char *message;
char *message = NULL;
if ((oneTimeFlag == 0) && (_errorCatalog == (nl_catd) -1))
{