From d51f2f67ee8d4c6cfc2b9cb13d23ace2cacac66d Mon Sep 17 00:00:00 2001 From: m1ngsama Date: Sat, 7 Feb 2026 23:10:55 +0800 Subject: [PATCH] fix: suppress unused parameter warning in auth_password callback --- src/ssh_server.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ssh_server.c b/src/ssh_server.c index 275b7df..970ed18 100644 --- a/src/ssh_server.c +++ b/src/ssh_server.c @@ -908,6 +908,7 @@ cleanup: /* Password authentication callback */ static int auth_password(ssh_session session, const char *user, const char *password, void *userdata) { + (void)user; /* Unused - we don't validate usernames */ session_context_t *ctx = (session_context_t *)userdata; ctx->auth_attempts++;