commit ed6c03dab33900c8555d6f6b24004fb5fa0c0913
Author:     Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Sat Feb 25 05:24:23 2017 +0100
Commit:     Roberto E. Vargas Caballero <[email protected]>
CommitDate: Sat Feb 25 05:24:23 2017 +0100

    [libc] Remove default case in atoi()
    
    It does nothing.

diff --git a/libc/src/atoi.c b/libc/src/atoi.c
index 6619cf1..b484e1e 100644
--- 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)

Reply via email to