]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Add missing variable declaration
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 23 Jul 2016 15:08:58 +0000 (17:08 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 23 Jul 2016 15:10:34 +0000 (17:10 +0200)
Fixup after b81df8bf.

execute.c

index 5a15aab45d1e96640ff4417b01eee1ca09db9ac7..566ef9e825861c94e84cbfe9078d4d85cca4a77f 100644 (file)
--- a/execute.c
+++ b/execute.c
@@ -59,7 +59,7 @@ win32argvtos(char *prefix, char **argv)
        do {
                int bs = 0;
                *ptr++ = '"';
-               for (j = 0; arg[j]; j++) {
+               for (int j = 0; arg[j]; j++) {
                        switch (arg[j]) {
                        case '\\':
                                bs++;