X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/496f0a58b1d6bc882473301ef8f38dfcfb6f6b3b..c22287afb2711c424df0ba00bf6fbe2af736b433:/src/xrc/xmlres.cpp?ds=sidebyside diff --git a/src/xrc/xmlres.cpp b/src/xrc/xmlres.cpp index bbe8ce47c5..d9b2c4afff 100644 --- a/src/xrc/xmlres.cpp +++ b/src/xrc/xmlres.cpp @@ -989,7 +989,7 @@ wxSize wxXmlResourceHandler::GetSize(const wxString& param) wxString s = GetParamValue(param); if (s.IsEmpty()) s = wxT("-1,-1"); bool is_dlg; - long sx, sy; + long sx, sy = 0; is_dlg = s[s.Length()-1] == wxT('d'); if (is_dlg) s.RemoveLast();