From bba0f401eea22ddc345df8aa32ac0ccb2c73dc15 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Tue, 24 May 2005 11:57:01 -0700 Subject: [PATCH] [PATCH] Squelch compiler warning 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 --- apply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apply.c b/apply.c index 251762d21..be1639e80 100644 --- 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; -- 2.26.2