analyze: clarify return value

In this case, EXIT_SUCCESS is the same as 0, but we shouldn't use it
in a function that returns negative on error.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2021-11-16 13:00:31 +01:00
parent 52117f5af8
commit b11b17f408
+1 -1
View File
@@ -2099,7 +2099,7 @@ static int dump_timespan(int argc, char *argv[], void *userdata) {
putchar('\n');
}
return EXIT_SUCCESS;
return 0;
}
static int test_timestamp_one(const char *p) {