apply --cached: do not check newly added file in the working tree
[gitweb.git] / builtin-diff.c
index 636edbf2a79f4e757866a08b221374e91e3dfe3b..d3ac581f291dae630478248133344e2dd6a80b06 100644 (file)
@@ -84,8 +84,7 @@ static void stuff_change(struct diff_options *opt,
 
        if (opt->reverse_diff) {
                unsigned tmp;
-               const
-                       const unsigned char *tmp_u;
+               const unsigned char *tmp_u;
                const char *tmp_c;
                tmp = old_mode; old_mode = new_mode; new_mode = tmp;
                tmp_u = old_sha1; old_sha1 = new_sha1; new_sha1 = tmp_u;