]> git.saurik.com Git - wxWidgets.git/commitdiff
No real changes, just remove an unneeded variable initialization.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 16 Sep 2012 23:09:38 +0000 (23:09 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 16 Sep 2012 23:09:38 +0000 (23:09 +0000)
Closes #14664.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/vscroll.cpp

index 0572b8e07b30596d9ea5713f9857a14fd618adb4..589451775c9f6d0c436e0452e069fa4af4ff0e37 100644 (file)
@@ -487,10 +487,10 @@ void wxVarScrollHelperBase::RefreshUnits(size_t from, size_t to)
         to = GetVisibleEnd();
 
     // calculate the rect occupied by these units on screen
-    int orient_size, nonorient_size, orient_pos;
-    orient_size = nonorient_size = orient_pos = 0;
+    int orient_size = 0,
+        orient_pos = 0;
 
-    nonorient_size = GetNonOrientationTargetSize();
+    int nonorient_size = GetNonOrientationTargetSize();
 
     for ( size_t nBefore = GetVisibleBegin();
           nBefore < from;