commit ed6c03dab33900c8555d6f6b24004fb5fa0c0913 parent 44882dc0000b32dc3cded163d0318995a753150e Author: Roberto E. Vargas Caballero <k0ga@shike2.com> Date: Sat, 25 Feb 2017 05:24:23 +0100 [libc] Remove default case in atoi() It does nothing. Diffstat:
M | libc/src/atoi.c | | | 2 | -- |
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/libc/src/atoi.c b/libc/src/atoi.c @@ -16,8 +16,6 @@ atoi(const char *s) sign = -1; case '+': ++s; - default: - break; } for (n = 0; isdigit(*s); ++s)