Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 96b6c29f authored by Lukáš Tvrdý's avatar Lukáš Tvrdý

Fix PVS warning

Mistake when porting to new NG iterators.

V715 The 'while' operator has empty body. Suspicious pattern detected: 'if (expr) {...} while (it->nextPixel()) ;'. kis_png_converter.cpp 1126
parent 826c0219
......@@ -1123,7 +1123,7 @@ KisImageBuilder_Result KisPNGConverter::buildFile(QIODevice* iodevice, KisImageW
palette[i].green == d[1] &&
palette[i].blue == d[0]) {
break;
} while (it->nextPixel());
}
}
writestream.setNextValue(i);
} while (it->nextPixel());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment