summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-05-24 18:57:01 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-25 00:47:05 (GMT)
commitbba0f401eea22ddc345df8aa32ac0ccb2c73dc15 (patch)
tree49e165543f7d735bc4cd2e191168f20d4224b5f0
parentd7f6ea3d7d2b06b5ee8c308a8acaf394b5ce9714 (diff)
downloadgit-bba0f401eea22ddc345df8aa32ac0ccb2c73dc15.zip
git-bba0f401eea22ddc345df8aa32ac0ccb2c73dc15.tar.gz
git-bba0f401eea22ddc345df8aa32ac0ccb2c73dc15.tar.bz2
[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 <torvalds@osdl.org>
-rw-r--r--apply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apply.c b/apply.c
index 251762d..be1639e 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;