summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d7f6ea3)
raw | patch | inline | side by side (parent: d7f6ea3)
author | Junio C Hamano <junkio@cox.net> | |
Tue, 24 May 2005 18:57:01 +0000 (11:57 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Wed, 25 May 2005 00:47:05 +0000 (17:47 -0700) |
Not important but I am a bit annoyed by gcc complaining about the
control falling out of the function without returning value.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
control falling out of the function without returning value.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
apply.c | patch | blob | history |
index 251762d2147d433118fac7f3b428ea1f950022ab..be1639e80e1e4c42c0e1d699b3b83661cc133d69 100644 (file)
--- a/apply.c
+++ b/apply.c
@@ -159,7 +159,7 @@ static char * find_name(const char *line, char *def, int p_value, int terminate)
* files, we can happily check the index for a match, but for creating a
* new file we should try to match whatever "patch" does. I have no idea.
*/
-static int parse_traditional_patch(const char *first, const char *second)
+static void parse_traditional_patch(const char *first, const char *second)
{
int p_value = 1;
char *name;