pull --rebase: exit early when the working directory is dirty
[gitweb.git] / builtin-bundle.c
index 9f38e2176a4c05fe9f6f8efcabb9b1e7204fdb85..ac476e7a4b45fc55b6b6d1e4d02be0c35aba2c7b 100644 (file)
@@ -14,7 +14,7 @@ static const char *bundle_usage="git-bundle (create <bundle> <git-rev-list args>
 int cmd_bundle(int argc, const char **argv, const char *prefix)
 {
        struct bundle_header header;
-       int nongit = 0;
+       int nongit;
        const char *cmd, *bundle_file;
        int bundle_fd = -1;
        char buffer[PATH_MAX];