]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: remove redundant exit status handling
authorPádraig Brady <P@draigBrady.com>
Sun, 30 Apr 2023 12:05:12 +0000 (13:05 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 30 Apr 2023 12:05:12 +0000 (13:05 +0100)
* src/numfmt.c: Remove redundant / confusing
use of TIMEOUT_FAILURE.

src/numfmt.c

index 3e866dd92b5d71df10b1eca67edae69395388d30..eca202971ffcf79300f6d65d59c9038490d3a80d 100644 (file)
@@ -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)