]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed VC warning about unreachable code
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Oct 2006 00:35:44 +0000 (00:35 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Oct 2006 00:35:44 +0000 (00:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/richtext/richtextbuffer.cpp

index daf5f9944d8eb82a7d8f0345b3ca2e52e1a980c1..d9d78dcb84fb58cd7ff150fcae6d6fd82050b942 100644 (file)
@@ -1759,8 +1759,6 @@ bool wxRichTextParagraphLayoutBox::DoGetStyle(long position, wxTextAttrEx& style
 #endif
             return true;
         }
-        else
-            return false;
     }
     else
     {
@@ -1780,8 +1778,6 @@ bool wxRichTextParagraphLayoutBox::DoGetStyle(long position, wxTextAttrEx& style
 #endif
             return true;
         }
-        else
-            return false;
     }
     return false;
 }