]> git.saurik.com Git - wxWidgets.git/commitdiff
No changes, just remove unnecessary assignment in wxOSX code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 5 Dec 2011 00:00:58 +0000 (00:00 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 5 Dec 2011 00:00:58 +0000 (00:00 +0000)
Local size variable was unnecessarily assigned itself.

Closes #13723.

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

src/osx/cocoa/gauge.mm

index 79762b554032ba0a057e5a31c7ee28648f55df6c..c9742ac478c389389444437a4b69eeb75054223f 100644 (file)
@@ -75,7 +75,7 @@ public :
     void GetLayoutInset(int &left , int &top , int &right, int &bottom) const
     {
         left = top = right = bottom = 0;
-        NSControlSize size = size = [(wxNSProgressIndicator*)m_osxView controlSize];
+        NSControlSize size = [(wxNSProgressIndicator*)m_osxView controlSize];
 
         switch( size )
         {