Thread (2 messages) 2 messages, 2 authors, 2017-07-26

Re: [PATCH] fsck: cleanup unused variable

From: Jeff King <hidden>
Date: 2017-07-26 13:17:36

On Tue, Jul 25, 2017 at 06:34:56PM -0700, Jonathan Tan wrote:
Remove the unused variable "heads" from cmd_fsck().

This variable was made unused in commit c3271a0 ("fsck: do not fallback
"git fsck <bogus>" to "git fsck"", 2017-01-17).
Thanks, I should have caught this then.

The patch is obviously correct, though I'm curious why gcc's
-Wunused-but-set-variable didn't catch this.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help