Removed unused variable warning.

This commit is contained in:
nissim.hadar 2017-11-25 11:03:33 -08:00
parent 747ba0bf84
commit e35e76afd7

View file

@ -62,10 +62,10 @@ void Test::evaluateTests() {
exit(-1);
}
double similarityIndex; // in [-1.0 .. 1.0], where 1.0 means images are the same
double similarityIndex; // in [-1.0 .. 1.0], where 1.0 means images are identical
try {
similarityIndex = imageComparer.compareImages(resultImage, expectedImage);
} catch (int ex) {
} catch (...) {
messageBox.critical(0, "Internal error", "Image not in expected format");
exit(-1);
}