* initialize variable in get_flags_str_s
This commit is contained in:
@ -145,6 +145,8 @@ get_flags_str_s (MuMsgFlags flags)
|
|||||||
int i;
|
int i;
|
||||||
static char flagstr[7];
|
static char flagstr[7];
|
||||||
|
|
||||||
|
i = 0;
|
||||||
|
|
||||||
/* now, determine the flags to use */
|
/* now, determine the flags to use */
|
||||||
if (flags & MU_MSG_FLAG_DRAFT)
|
if (flags & MU_MSG_FLAG_DRAFT)
|
||||||
flagstr[i++] = 'D';
|
flagstr[i++] = 'D';
|
||||||
|
|||||||
Reference in New Issue
Block a user