diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2015-01-19 22:49:10 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2015-01-22 11:39:24 +0100 |
commit | 920db6d3935c86aff1b4fd0096ce6b5e3605d20d (patch) | |
tree | 52a5bf033372732018de77d7bd243cb3304ee981 /libc/stdlib/_atexit.c | |
parent | 78b154a95b507c205241dd883396952e0dfbede7 (diff) |
libc: Avoid redundant setting of ENOMEM
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/stdlib/_atexit.c')
-rw-r--r-- | libc/stdlib/_atexit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/_atexit.c b/libc/stdlib/_atexit.c index ef6772fb5..3faa9f05f 100644 --- a/libc/stdlib/_atexit.c +++ b/libc/stdlib/_atexit.c @@ -257,7 +257,7 @@ struct exit_function attribute_hidden *__new_exitfn(void) efp = realloc(__exit_function_table, (__exit_slots+20)*sizeof(struct exit_function)); if (efp == NULL) { - __set_errno(ENOMEM); + /* __set_errno(ENOMEM); */ goto DONE; } __exit_function_table = efp; |