From e0bf25d91127eb45428f14cb6dbbbd02956acd45 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 1 Sep 2022 17:12:10 +0200 Subject: [PATCH] Remove useless if (...) --- src/Fl_Graphics_Driver.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Fl_Graphics_Driver.cxx b/src/Fl_Graphics_Driver.cxx index 5ba7853e0..159a76b65 100644 --- a/src/Fl_Graphics_Driver.cxx +++ b/src/Fl_Graphics_Driver.cxx @@ -137,9 +137,7 @@ void Fl_Graphics_Driver::global_gc() /** see Fl::set_color(Fl_Color, unsigned) */ void Fl_Graphics_Driver::set_color(Fl_Color i, unsigned c) { - if (fl_cmap[i] != c) { fl_cmap[i] = c; - } }