Skip to content

Commit 8ef5549

Browse files
committed
Merge branch 'rj/compat-terminal-unused-fix' into maint-2.46
Build fix. * rj/compat-terminal-unused-fix: compat/terminal: mark parameter of git_terminal_prompt() UNUSED
2 parents 8b4bb65 + d4dc0ef commit 8ef5549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compat/terminal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ void restore_term(void)
594594
{
595595
}
596596

597-
char *git_terminal_prompt(const char *prompt, int echo)
597+
char *git_terminal_prompt(const char *prompt, int echo UNUSED)
598598
{
599599
return getpass(prompt);
600600
}

0 commit comments

Comments
 (0)