X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b05875c9771a1f3ec4e07bba56f74e85433ed4b8..07aaf32633ecf18ec3edfbb41793a112914792d0:/src/generic/timectrlg.cpp diff --git a/src/generic/timectrlg.cpp b/src/generic/timectrlg.cpp index 6a5d13c6cf..f6aaa2317e 100644 --- a/src/generic/timectrlg.cpp +++ b/src/generic/timectrlg.cpp @@ -270,7 +270,7 @@ private: void OnTextClick(wxMouseEvent& event) { - Field field wxDUMMY_INITIALIZE(Field_Max); + Field field = Field_Max; // Initialize just to suppress warnings. long pos; switch ( m_text->HitTest(event.GetPosition(), &pos) ) {