From 7d6fffcbffd3d7353c01a4d21f4b0cd0cfab5496 Mon Sep 17 00:00:00 2001 From: heckflosse Date: Mon, 17 Sep 2018 13:10:34 +0200 Subject: [PATCH] Coverity 191036 Dereference after null check --- rtgui/icmpanel.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtgui/icmpanel.cc b/rtgui/icmpanel.cc index 936b68fd0..01b15d4b8 100644 --- a/rtgui/icmpanel.cc +++ b/rtgui/icmpanel.cc @@ -686,7 +686,7 @@ void ICMPanel::setDefaults(const ProcParams* defParams, const ParamsEdited* pedi void ICMPanel::adjusterChanged(Adjuster* a, double newval) { - if (listener || batchMode) { + if (listener) { Glib::ustring costr2 = Glib::ustring::format(std::setw(3), std::fixed, std::setprecision(2), newval); if (a == wGamma) {