diff options
Diffstat (limited to 'builtin')
| -rw-r--r-- | builtin/fsck.c | 5 | ||||
| -rw-r--r-- | builtin/stash.c | 9 |
2 files changed, 9 insertions, 5 deletions
diff --git a/builtin/fsck.c b/builtin/fsck.c index 36f1524614..31d3da8954 100644 --- a/builtin/fsck.c +++ b/builtin/fsck.c @@ -488,8 +488,9 @@ static void fsck_handle_reflog_oid(const char *refname, struct object_id *oid, } static int fsck_handle_reflog_ent(struct object_id *ooid, struct object_id *noid, - const char *email, timestamp_t timestamp, int tz, - const char *message, void *cb_data) + const char *UNUSED(email), + timestamp_t timestamp, int UNUSED(tz), + const char *UNUSED(message), void *cb_data) { const char *refname = cb_data; diff --git a/builtin/stash.c b/builtin/stash.c index 30fa101460..a741b920b3 100644 --- a/builtin/stash.c +++ b/builtin/stash.c @@ -638,9 +638,12 @@ cleanup: return ret; } -static int reject_reflog_ent(struct object_id *ooid, struct object_id *noid, - const char *email, timestamp_t timestamp, int tz, - const char *message, void *cb_data) +static int reject_reflog_ent(struct object_id *UNUSED(ooid), + struct object_id *UNUSED(noid), + const char *UNUSED(email), + timestamp_t UNUSED(timestamp), + int UNUSED(tz), const char *UNUSED(message), + void *UNUSED(cb_data)) { return 1; } |
