diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-09 14:39:05 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-09 15:08:39 +0200 |
commit | 215150c54a2d58337571f76d8b3c26676672f36c (patch) | |
tree | 66b3eb8a09138153d457b941192874924c8232c6 | |
parent | 987203a2794df1a9d21a548eade79893d2c9aa36 (diff) |
clang-analyzer-deadcode.DeadStores
Change-Id: I9329233a85df26dcfd83002e50604a6ea4fb50f9
-rw-r--r-- | vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx index 7ea4892f9183..88f119f53b58 100644 --- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx @@ -2018,10 +2018,6 @@ bool GtkSalGraphics::NWPaintGTKScrollbar( ControlType, ControlPart nPart, "has-backward-stepper", &has_backward, "has-secondary-backward-stepper", &has_backward2, nullptr ); gint magic = trough_border ? 1 : 0; - gint nFirst = 0; - - if ( has_backward ) nFirst += 1; - if ( has_forward2 ) nFirst += 1; if ( nPart == PART_DRAW_BACKGROUND_HORZ ) { |