Work around harmless g++ warning about possible uninitialized variable.

Return from the function before using the variables in the (impossible) case
they are actually not initialized.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2013-04-30 10:36:00 +00:00
parent 21160e4544
commit 23855b87d7

View File

@@ -480,6 +480,7 @@ private:
case Field_AMPM:
case Field_Max:
wxFAIL_MSG( "Invalid field" );
return;
}
// Check if the new value is acceptable. If not, we just handle