From b11b17f40833c2910300df74ddbd2266f466ff43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 16 Nov 2021 12:20:17 +0100 Subject: 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. --- src/analyze/analyze.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c index 204193cb50..ce6f1e395d 100644 --- a/src/analyze/analyze.c +++ b/src/analyze/analyze.c @@ -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) { -- cgit v1.2.1