mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
scalar: mark unused parameters in dummy function
We have a dummy load_builtin_commands() function to satisfy the linker, but which we never expect to be called. Mark its parameters to avoid complaints from -Wunused-parameter. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
0b1376d448
commit
5e75e503c4
3
scalar.c
3
scalar.c
@@ -400,7 +400,8 @@ static int delete_enlistment(struct strbuf *enlistment)
|
||||
* Dummy implementation; Using `get_version_info()` would cause a link error
|
||||
* without this.
|
||||
*/
|
||||
void load_builtin_commands(const char *prefix, struct cmdnames *cmds)
|
||||
void load_builtin_commands(const char *prefix UNUSED,
|
||||
struct cmdnames *cmds UNUSED)
|
||||
{
|
||||
die("not implemented");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user