From: Pádraig Brady
Date: Sun, 30 Apr 2023 12:05:12 +0000 (+0100) Subject: maint: remove redundant exit status handling X-Git-Tag: v9.4~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cae0419c9343cfbdf392b46f3d4c5ea6c428bb9;p=thirdparty%2Fcoreutils.git maint: remove redundant exit status handling * src/numfmt.c: Remove redundant / confusing use of TIMEOUT_FAILURE. --- diff --git a/src/numfmt.c b/src/numfmt.c index 3e866dd92b..eca202971f 100644 --- a/src/numfmt.c +++ b/src/numfmt.c @@ -42,7 +42,7 @@ #define AUTHORS proper_name ("Assaf Gordon") /* Exit code when some numbers fail to convert. */ -enum { TIMEOUT_FAILURE = 1, EXIT_CONVERSION_WARNINGS = 2 }; +enum { EXIT_CONVERSION_WARNINGS = 2 }; enum { @@ -1473,7 +1473,6 @@ main (int argc, char **argv) decimal_point = "."; decimal_point_length = strlen (decimal_point); - initialize_exit_failure (TIMEOUT_FAILURE); atexit (close_stdout); while (true)