PATCH: diff-cache.c:51: `return' with a value, in function returning void

From: Alex Riesen <fork0@users.sourceforge.net>
Date: 2005-05-04 05:56:01
gcc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-diff-cache diff-cache.c libgit.a -lz -lssl
diff-cache.c: In function `show_new_file':
diff-cache.c:51: warning: `return' with a value, in function returning void


--- cogito/diff-cache.c	2005-05-03 21:50:42.000000000 +0200
+++ cogito/diff-cache.c	2005-05-03 21:52:00.000000000 +0200
@@ -48,7 +48,6 @@ static void show_new_file(struct cache_e
 		return;
 
 	show_file("+", new, sha1, mode);
-	return 0;
 }
 
 static int show_modified(struct cache_entry *old, struct cache_entry *new)

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed May 04 06:01:34 2005

This archive was generated by hypermail 2.1.8 : 2005-05-04 06:01:35 EST