Usage of EXIT_SUCCESS/FAILURE instead of hard-coded values

This commit is contained in:
Luis Díaz Más
2022-03-22 15:36:29 +01:00
parent 5b0418d136
commit c5c315b6e7
32 changed files with 224 additions and 216 deletions
+2 -2
View File
@@ -81,9 +81,9 @@ int main() {
std::cout << std::endl;
} catch (Exiv2::Error& e) {
std::cout << "Caught Exiv2 exception '" << e << "'\n";
return -1;
return EXIT_FAILURE;
}
}
return 0;
return EXIT_SUCCESS;
}