Re: [PATCH] fsck: cleanup unused variable

2017-07-26 Thread Jeff King
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 " to "git fsck"", 2017-01-17). Thanks, I should have caught this then. The patch is obvious

[PATCH] fsck: cleanup unused variable

2017-07-25 Thread Jonathan Tan
Remove the unused variable "heads" from cmd_fsck(). This variable was made unused in commit c3271a0 ("fsck: do not fallback "git fsck " to "git fsck"", 2017-01-17). Signed-off-by: Jonathan Tan --- While working on fsck, I noticed one more possible cleanup. --- builtin/fsck.c | 4 +--- 1 file ch