X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/75ac34cefc896f5fe466661e233bf6a6f0df8e84..68e6eb7d678e41eb3949fc682b7a9329bff2f3ec:/include/wx/private/wxprintf.h diff --git a/include/wx/private/wxprintf.h b/include/wx/private/wxprintf.h index 8cfdb2ac1b..1bdc7b62ac 100644 --- a/include/wx/private/wxprintf.h +++ b/include/wx/private/wxprintf.h @@ -795,9 +795,11 @@ struct wxPrintfConvSpecParser typedef wxPrintfConvSpec ConvSpec; wxPrintfConvSpecParser(const CharType *fmt) - : posarg_present(false), nonposarg_present(false), - nargs(0) { + nargs = 0; + posarg_present = + nonposarg_present = false; + memset(pspec, 0, sizeof(pspec)); // parse the format string