Merge branch 'rs/bswap-ubsan-fix' into maint
[gitweb.git] / builtin / reflog.c
index 44cdc2dbd0cbf64be1672428e930223425ed7b04..e237d927a0881b56135a21a1b0041e7de6ff39ab 100644 (file)
@@ -486,7 +486,7 @@ static void set_reflog_expiry_param(struct cmd_reflog_expire_cb *cb, int slot, c
                return; /* both given explicitly -- nothing to tweak */
 
        for (ent = reflog_expire_cfg; ent; ent = ent->next) {
-               if (!wildmatch(ent->pattern, ref, 0, NULL)) {
+               if (!wildmatch(ent->pattern, ref, 0)) {
                        if (!(slot & EXPIRE_TOTAL))
                                cb->expire_total = ent->expire_total;
                        if (!(slot & EXPIRE_UNREACH))