sparse fix: non-ANSI function declaration
The declaration of discard_cache() in cache.h already has its "void". Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:

committed by
Junio C Hamano

parent
f847c07b9a
commit
a6e8a76770
@ -844,7 +844,7 @@ unmap:
|
||||
die("index file corrupt");
|
||||
}
|
||||
|
||||
int discard_cache()
|
||||
int discard_cache(void)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
Reference in New Issue
Block a user