]> git.saurik.com Git - wxWidgets.git/commit
Initialize wxDateTime::Tm::yday in the ctor.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 26 Sep 2010 22:11:16 +0000 (22:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 26 Sep 2010 22:11:16 +0000 (22:11 +0000)
commitfdb44eb24f06c828df8c0e88b1d77272a397f41e
tree4febbfe6a8dc9b62bf7e492d92a2fea98c125110
parent784a3130f8d2b63d5b02ce6e8c7496269df63731
Initialize wxDateTime::Tm::yday in the ctor.

Set Tm::yday to a fixed value in the ctor as well instead of not initializing
it at all.

This bug actually didn't have any visible consequences as yday is currently a
private member of struct tm and didn't seem to be used anywhere but it at
least avoids MinGW 4.x warnings about possibly uninitialized variable and
might become important in the future if we allow accessing this field.

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