[PATCH 0/3] mixed bag of -Wunused-parameter bugfixes
- From
Jeff King <peff@peff.net>
- Date
- Nov 2, 2018, 05:22 UTC
- Message-ID
- <20181102052239.GA19162@sigill.intra.peff.net>
Here are three minor bug-fixes that can be applied independently. The common thread is that I found them by looking at the results of compiling with -Wunused-parameter. In each of these cases, the parameter _should_ be used, and not doing so was a bug.
[1/3]: rev-list: handle flags for --indexed-objects [2/3]: approxidate: handle pending number for "specials" [3/3]: pathspec: handle non-terminated strings with :(attr)
date.c | 60 ++++++++++++++++++++++------------------ dir.c | 7 +++++ revision.c | 15 ++++++---- t/t0006-date.sh | 1 + t/t6000-rev-list-misc.sh | 7 +++++ 5 files changed, 57 insertions(+), 33 deletions(-)
-Peff