From fee9bb24d90c96e2756646a790042cf896f10c94 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 8 Oct 2006 00:35:44 +0000 Subject: [PATCH] fixed VC warning about unreachable code git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/richtext/richtextbuffer.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/richtext/richtextbuffer.cpp b/src/richtext/richtextbuffer.cpp index daf5f9944d..d9d78dcb84 100644 --- a/src/richtext/richtextbuffer.cpp +++ b/src/richtext/richtextbuffer.cpp @@ -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; } -- 2.45.2