From 90751ab4ba7b0772c3816cf86783fd3490cf9172 Mon Sep 17 00:00:00 2001 From: FRIGN Date: Fri, 6 Mar 2015 00:34:43 +0100 Subject: [PATCH] Small fix in mkdir.c Don't initialize p twice. --- mkdir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkdir.c b/mkdir.c index b21b59a..470c07e 100644 --- a/mkdir.c +++ b/mkdir.c @@ -9,7 +9,7 @@ static int mkdirp(char *path) { - char *p = path; + char *p; for (p = path; *p; p++) { if (*p != '/')