Coverity 191036 Dereference after null check

This commit is contained in:
heckflosse
2018-09-17 13:10:34 +02:00
parent e533fecf8a
commit 7d6fffcbff

View File

@@ -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) {