diff options
author | Pádraig Brady <P@draigBrady.com> | 2023-04-30 13:05:12 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2023-04-30 13:05:12 +0100 |
commit | 2cae0419c9343cfbdf392b46f3d4c5ea6c428bb9 (patch) | |
tree | fe0379b9a3d1b73b6d1954b4346c0cc9f4add12d | |
parent | 35adc746a000ac1f8d1d817a6a3a60d5b80daef5 (diff) | |
download | coreutils-2cae0419c9343cfbdf392b46f3d4c5ea6c428bb9.tar.gz |
maint: remove redundant exit status handling
* src/numfmt.c: Remove redundant / confusing
use of TIMEOUT_FAILURE.
-rw-r--r-- | src/numfmt.c | 3 |
1 files changed, 1 insertions, 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) |