mirror of
https://github.com/git/git.git
synced 2024-11-24 02:17:02 +08:00
[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>
This commit is contained in:
parent
d7f6ea3d7d
commit
bba0f401ee
2
apply.c
2
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;
|
||||
|
Loading…
Reference in New Issue
Block a user