[PATCH 0/2] Fix issues found by gcc 4.6.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In general, our sources are quite clean. However, a few variables were
unused. Previous gcc version did not find them because they were assigned
values, but those values were never used nontheless.

The tricky question is whether 2/2 really fixes an issue or not.
Unfortunately, my time is too limited to go into detail, but I figured
it'd be better to raise the issue than to remain silent.

Johannes Schindelin (2):
  Remove unused variables
  Actually use retval

 builtin/fsck.c       |    3 +--
 builtin/remote-ext.c |    4 ----
 diff.c               |    3 +--
 merge-recursive.c    |    4 ----
 reachable.c          |    5 -----
 test-subprocess.c    |    3 +--
 transport-helper.c   |    3 +--
 tree-diff.c          |    2 +-
 8 files changed, 5 insertions(+), 22 deletions(-)

-- 
1.7.4.msysgit.0.167.ge91fd
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]