Re: Fix up some fallout from "setup_git_directory()" cleanups

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

 




On Tue, 1 Aug 2006, Johannes Schindelin wrote:
> 
> Wouldn't this just be a _perfect_ task for 'sparse'?

Something like this?

		Linus
---
builtin-diff.c:266:7: warning: symbol 'i' shadows an earlier one
builtin-diff.c:226:6: originally declared here

builtin-fmt-merge-msg.c:141:7: warning: symbol 'len' shadows an earlier one
builtin-fmt-merge-msg.c:75:9: originally declared here

builtin-fmt-merge-msg.c:341:17: warning: symbol 'head' shadows an earlier one
builtin-fmt-merge-msg.c:252:13: originally declared here

builtin-mv.c:270:8: warning: symbol 'i' shadows an earlier one
builtin-mv.c:61:6: originally declared here

builtin-show-branch.c:755:17: warning: symbol 'commit' shadows an earlier one
builtin-show-branch.c:555:32: originally declared here

convert-objects.c:186:15: warning: symbol 'p' shadows an earlier one
convert-objects.c:154:10: originally declared here

date.c:635:14: warning: symbol 'n' shadows an earlier one
date.c:587:6: originally declared here

date.c:649:7: warning: symbol 'n' shadows an earlier one
date.c:587:6: originally declared here

fetch.c:51:16: warning: symbol 'tree' shadows an earlier one
fetch.c:37:37: originally declared here

fsck-objects.c:582:7: warning: symbol 'i' shadows an earlier one
fsck-objects.c:485:6: originally declared here

git.c:281:8: warning: symbol 'i' shadows an earlier one
git.c:263:6: originally declared here

pack-check.c:44:17: warning: symbol 'sha1' shadows an earlier one
pack-check.c:9:16: originally declared here

pack-objects.c:685:28: warning: symbol 'tree' shadows an earlier one
pack-objects.c:662:47: originally declared here

revision.c:85:17: warning: symbol 'commit' shadows an earlier one
revision.c:80:47: originally declared here

setup.c:165:7: warning: symbol 'len' shadows an earlier one
setup.c:156:6: originally declared here

tree-walk.c:116:21: warning: symbol 'entry' shadows an earlier one
tree-walk.c:113:20: originally declared here
-
: 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]