maint: remove redundant exit status handling

* src/numfmt.c: Remove redundant / confusing
use of TIMEOUT_FAILURE.
This commit is contained in:
Pádraig Brady committed 2023-04-30 13:05:12 +01:00
1 parent 35adc746a0
commit 2cae0419c9
1 file changed
+1 -2
+1 -2
View 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)