summaryrefslogtreecommitdiffstats
path: root/core/save-git.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/save-git.c')
-rw-r--r--core/save-git.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/core/save-git.c b/core/save-git.c
index 9ed315028..5d117748a 100644
--- a/core/save-git.c
+++ b/core/save-git.c
@@ -4,6 +4,7 @@
#pragma clang diagnostic ignored "-Wmissing-field-initializers"
#endif
+#include "ssrf.h"
#include <stdio.h>
#include <ctype.h>
#include <string.h>
@@ -1021,11 +1022,11 @@ static int notify_cb(git_checkout_notify_t why,
const git_diff_file *workdir,
void *payload)
{
- (void) baseline;
- (void) target;
- (void) workdir;
- (void) payload;
- (void) why;
+ UNUSED(baseline);
+ UNUSED(target);
+ UNUSED(workdir);
+ UNUSED(payload);
+ UNUSED(why);
report_error("File '%s' does not match in working tree", path);
return 0; /* Continue with checkout */
}