diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-25 20:47:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-25 20:56:33 +0000 |
commit | 44348f093ec2e77366856ee277d67a563b67c9b9 (patch) | |
tree | b44395df193591e10bb4a2066c92de9269df5180 | |
parent | 081837dbf5696988423f6858e503efd7fa9b5b5f (diff) |
coverity#440996 Logically dead code
Change-Id: I4ef10ab73aa506394f49e5501a4f6c35543cc573
-rw-r--r-- | vcl/source/control/button.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index 8d443c961b71..b5d2e56b1c12 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -3795,7 +3795,6 @@ void CheckBox::DataChanged( const DataChangedEvent& rDCEvt ) bool CheckBox::PreNotify( NotifyEvent& rNEvt ) { - bool nDone = false; const MouseEvent* pMouseEvt = NULL; if( (rNEvt.GetType() == EVENT_MOUSEMOVE) && (pMouseEvt = rNEvt.GetMouseEvent()) != NULL ) @@ -3817,7 +3816,7 @@ bool CheckBox::PreNotify( NotifyEvent& rNEvt ) } } - return nDone || Button::PreNotify(rNEvt); + return Button::PreNotify(rNEvt); } // ----------------------------------------------------------------------- |