summaryrefslogtreecommitdiffstats
path: root/4
diff options
context:
space:
mode:
Diffstat (limited to '4')
-rw-r--r--4/12.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/4/12.c b/4/12.c
index 9d5a0e2..f738710 100644
--- a/4/12.c
+++ b/4/12.c
@@ -24,12 +24,6 @@ int main() {
int step = 0;
void mitoa(int n, char s[]) {
- if (step >= MAXLEN - 1) {
- s[MAXLEN - 1] = 0;
- printf("error: number too large.\n");
- return;
- }
-
if (n < 0) {
s[step++] = '-';
n = -n;