shithub: scc

Download patch

ref: c8a370bc13b78bbf98b2d25446d80444991760d1
parent: 3a12c295a9d0c2e5d61428bde365bb3fb6cad1f2
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sat Feb 25 00:24:23 EST 2017

[libc] Remove default case in atoi()

It does nothing.

--- a/libc/src/atoi.c
+++ b/libc/src/atoi.c
@@ -16,8 +16,6 @@
 		sign = -1;
 	case '+':
 		++s;
-	default:
-		break;
 	}
 
 	for (n = 0; isdigit(*s); ++s)