winpr: fix compiler warning
winpr/libwinpr/utils/wlog/wlog.c: In function ‘WLog_PrintMessageVA’: winpr/libwinpr/utils/wlog/wlog.c:234:7: warning: ‘status’ may be used uninitialized in this function [-Wmaybe-uninitialized] BOOL status; ^ gcc 4.9.2
This commit is contained in:
parent
fa2c39f808
commit
a9d81ad083
@ -231,7 +231,7 @@ BOOL WLog_WritePacket(wLog* log, wLogMessage* message)
|
||||
|
||||
BOOL WLog_PrintMessageVA(wLog* log, wLogMessage* message, va_list args)
|
||||
{
|
||||
BOOL status;
|
||||
BOOL status = FALSE;
|
||||
|
||||
if (message->Type == WLOG_MESSAGE_TEXT)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user