From 2cae0419c9343cfbdf392b46f3d4c5ea6c428bb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= Date: Sun, 30 Apr 2023 13:05:12 +0100 Subject: maint: remove redundant exit status handling * src/numfmt.c: Remove redundant / confusing use of TIMEOUT_FAILURE. --- src/numfmt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/numfmt.c b/src/numfmt.c index 3e866dd92..eca202971 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) -- cgit v1.2.1