mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
maint: remove redundant exit status handling
* src/numfmt.c: Remove redundant / confusing use of TIMEOUT_FAILURE.
This commit is contained in:
1 parent
35adc746a0
commit
2cae0419c9
1 file changed
+1
-2
+1
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user