From afbd54e0d7716afb2ed4259a3cbc3cdc199768b9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 8 Feb 2007 14:17:37 +0000 Subject: [PATCH] fixed unreachable code warning in release build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/richtext/richtextctrl.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/richtext/richtextctrl.cpp b/src/richtext/richtextctrl.cpp index 901901e56d..55b8433ad6 100644 --- a/src/richtext/richtextctrl.cpp +++ b/src/richtext/richtextctrl.cpp @@ -1983,8 +1983,6 @@ wxRichTextCtrl::HitTest(const wxPoint& pt, return wxTE_HT_BEYOND; else if (hit & wxRICHTEXT_HITTEST_BEFORE|wxRICHTEXT_HITTEST_AFTER) return wxTE_HT_ON_TEXT; - else - return wxTE_HT_UNKNOWN; return wxTE_HT_UNKNOWN; }