From c3b888d5be3f0276e40f6412cd01e5eff8ddda0e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 25 Jan 2014 20:49:17 +0000 Subject: coverity#441000 Logically dead code Change-Id: I4fa2639b62ee08dc2367cfc975bf673cbed65fb6 --- vcl/source/control/spinfld.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vcl/source') diff --git a/vcl/source/control/spinfld.cxx b/vcl/source/control/spinfld.cxx index fa9bee570f2e..0f88c193d427 100644 --- a/vcl/source/control/spinfld.cxx +++ b/vcl/source/control/spinfld.cxx @@ -899,7 +899,6 @@ Rectangle* SpinField::ImplFindPartRect( const Point& rPt ) bool SpinField::PreNotify( NotifyEvent& rNEvt ) { - bool nDone = false; const MouseEvent* pMouseEvt = NULL; if( (rNEvt.GetType() == EVENT_MOUSEMOVE) && (pMouseEvt = rNEvt.GetMouseEvent()) != NULL ) @@ -944,7 +943,7 @@ bool SpinField::PreNotify( NotifyEvent& rNEvt ) } } - return nDone || Edit::PreNotify(rNEvt); + return Edit::PreNotify(rNEvt); } // ----------------------------------------------------------------------- -- cgit