]> git.saurik.com Git - wxWidgets.git/commit
Fix spurious g++ warning about possibly uninitialized variable use.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 12 May 2013 20:34:37 +0000 (20:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 12 May 2013 20:34:37 +0000 (20:34 +0000)
commit5ec34ab09c7f4154ec8f21592dd9e505ed26f542
tree6d7a0f7b6613e50eea61fd108542d4656efd6d50
parent49ee8d1f65f6f4802c36d8572a9513804dec1aa7
Fix spurious g++ warning about possibly uninitialized variable use.

The variables are actually initialized in all cases if the enum has valid
value but the compiler doesn't seem to take this into account, so just
initialize them always to avoid the warnings.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/timectrlg.cpp