filter/source/graphicfilter/icgm/class1.cxx | 3 --- vcl/unx/gtk3/salnativewidgets-gtk.cxx | 1 - 2 files changed, 4 deletions(-)
New commits: commit 0b92356a6c1844aef9ed49927fa4da310ee5bb2e Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Mon Mar 6 15:24:16 2023 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Mar 7 06:58:51 2023 +0000 clang-tidy dead-store Change-Id: Id7c48e995b4f92f081fbd4d1af257e1b81e6a421 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148347 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/filter/source/graphicfilter/icgm/class1.cxx b/filter/source/graphicfilter/icgm/class1.cxx index 07a6fe253e4e..4304d142b5e5 100644 --- a/filter/source/graphicfilter/icgm/class1.cxx +++ b/filter/source/graphicfilter/icgm/class1.cxx @@ -151,9 +151,6 @@ void CGM::ImplDoClass1() } break; case 0x0a : /*Color Value Extent*/ - { - nI1 = 6; - } break; case 0x0b : /*MetaFile Element List */break; case 0x0c : /*MetaFile Default Replacement*/ diff --git a/vcl/unx/gtk3/salnativewidgets-gtk.cxx b/vcl/unx/gtk3/salnativewidgets-gtk.cxx index f55b45a8b92b..b5efe1b59ddc 100644 --- a/vcl/unx/gtk3/salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk3/salnativewidgets-gtk.cxx @@ -782,7 +782,6 @@ void GtkSalGraphics::PaintOneSpinButton( GtkStyleContext *context, tools::Rectangle buttonRect = NWGetSpinButtonRect( nPart, aAreaRect ); gtk_style_context_set_state(context, stateFlags); - stateFlags = gtk_style_context_get_state(context); style_context_get_padding(context, &padding); style_context_get_border(context, &border);