Merge branch 'jm/maint-strncpy-diff-no-index'
[gitweb.git] / builtin / revert.c
index e6840f23dc9ee6d670bb6254bee074e58e818486..e4ed0239ca7cbc0f33f2cf02d6287e681ca535bf 100644 (file)
@@ -86,6 +86,7 @@ static void verify_opt_mutually_compatible(const char *me, ...)
                                break;
                }
        }
+       va_end(ap);
 
        if (opt1 && opt2)
                die(_("%s: %s cannot be used with %s"), me, opt1, opt2);