mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Removed unused variable warning.
This commit is contained in:
parent
747ba0bf84
commit
e35e76afd7
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue