From f20e268907be38d42ee7ced069832110b5a7d86a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 12 Apr 2009 23:43:04 +0000 Subject: [PATCH] fix g++ warnings about initialization order mismatch after the last change git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/private/wxprintf.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.50.0