]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/datetimefmt.cpp
fix harmless warnings about uninitialized (not really) variables in MSVC release...
[wxWidgets.git] / src / common / datetimefmt.cpp
index 03a2429d0c2fdfb33439d79cfb9da3d8f14387c8..e6544edd235e16bb769adb1c5ce5d3ba38bdacd3 100644 (file)
@@ -811,7 +811,7 @@ wxDateTime::ParseRfc822Date(const wxString& date, wxString::const_iterator *end)
         return false;
 
     // 7. now the interesting part: the timezone
-    int offset wxDUMMY_INITIALIZE(0);
+    int offset = 0; // just to suppress warnings
     if ( *p == '-' || *p == '+' )
     {
         // the explicit offset given: it has the form of hhmm