diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-08 09:59:28 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-08 09:59:28 -0700 |
commit | 19b2860cba5742ab31fd682b80fefefac19be141 (patch) | |
tree | 406548bda4dfb72566db6e515e38604a7641ec15 /cat-file.c | |
parent | bf0c6e839c692142784caf07b523cd69442e57a5 (diff) | |
download | git-19b2860cba5742ab31fd682b80fefefac19be141.tar.gz git-19b2860cba5742ab31fd682b80fefefac19be141.tar.xz |
Use "-Wall -O2" for the compiler to get more warnings.
And fix up the warnings that it pointed out. Let's keep the tree
clean from early on.
Not that the code is very beautiful anyway ;)
Diffstat (limited to 'cat-file.c')
-rw-r--r-- | cat-file.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cat-file.c b/cat-file.c index 3071672c6..3829fb609 100644 --- a/cat-file.c +++ b/cat-file.c @@ -11,7 +11,6 @@ int main(int argc, char **argv) char type[20]; void *buf; unsigned long size; - int fd; if (argc != 3 || get_sha1_hex(argv[2], sha1)) usage("cat-file: cat-file [-t | tagname] <sha1>"); |