diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-25 20:46:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-25 20:56:33 +0000 |
commit | cb10f3324e63faf2ef6593070f195e7a52d3f4b9 (patch) | |
tree | c61df923867cb87287888b3da699a8d4e1d2d0b4 /vcl | |
parent | ae78fd8fda475709e8738ca39ac0e5fdb741034f (diff) |
coverity#440994 Logically dead code
Change-Id: Ib01d71c43ab3761973a95e2faf9113ec46424e97
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/spinbtn.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/control/spinbtn.cxx b/vcl/source/control/spinbtn.cxx index 18ba220c854e..0c1c45861b9e 100644 --- a/vcl/source/control/spinbtn.cxx +++ b/vcl/source/control/spinbtn.cxx @@ -487,7 +487,6 @@ Rectangle* SpinButton::ImplFindPartRect( const Point& rPt ) bool SpinButton::PreNotify( NotifyEvent& rNEvt ) { - bool nDone = false; const MouseEvent* pMouseEvt = NULL; if( (rNEvt.GetType() == EVENT_MOUSEMOVE) && (pMouseEvt = rNEvt.GetMouseEvent()) != NULL ) @@ -520,7 +519,7 @@ bool SpinButton::PreNotify( NotifyEvent& rNEvt ) } } - return nDone || Control::PreNotify(rNEvt); + return Control::PreNotify(rNEvt); } // ----------------------------------------------------------------------- |