summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-09-10 22:16:41 +0200
committerJunio C Hamano <gitster@pobox.com>2024-09-10 22:16:42 +0200
commitf4806a9a3e2640f2df1c3f092a50c834f4e4f2e6 (patch)
tree3a4ac194aa0a5c750c666001dfaf990a2b35a523 /compat
parentMerge branch 'jk/free-commit-buffer-of-skipped-commits' (diff)
parentcompat/terminal: mark parameter of git_terminal_prompt() UNUSED (diff)
downloadgit-f4806a9a3e2640f2df1c3f092a50c834f4e4f2e6.tar.xz
git-f4806a9a3e2640f2df1c3f092a50c834f4e4f2e6.zip
Merge branch 'rj/compat-terminal-unused-fix'
Build fix. * rj/compat-terminal-unused-fix: compat/terminal: mark parameter of git_terminal_prompt() UNUSED
Diffstat (limited to 'compat')
-rw-r--r--compat/terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/terminal.c b/compat/terminal.c
index 0afda730f2..d54efa1c5d 100644
--- a/compat/terminal.c
+++ b/compat/terminal.c
@@ -594,7 +594,7 @@ void restore_term(void)
{
}
-char *git_terminal_prompt(const char *prompt, int echo)
+char *git_terminal_prompt(const char *prompt, int echo UNUSED)
{
return getpass(prompt);
}