From 8436ab7ff084ed650132fbb0a72a85a0c0c54f7c Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 8 Jun 2021 11:24:58 +0200 Subject: src/freerdp2-auth-check.c: Mark unused function arguments as such. --- src/freerdp2-auth-check.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/freerdp2-auth-check.c b/src/freerdp2-auth-check.c index 04558fb..ab3b1fd 100644 --- a/src/freerdp2-auth-check.c +++ b/src/freerdp2-auth-check.c @@ -24,31 +24,31 @@ BOOL -auth_context_new (freerdp * instance, rdpContext * context) +auth_context_new (freerdp __attribute__((unused)) *instance, rdpContext __attribute__((unused)) *context) { return TRUE; } void -auth_context_free (freerdp * instance, rdpContext * context) +auth_context_free (freerdp __attribute__((unused)) *instance, rdpContext __attribute__((unused)) *context) { return; } BOOL -auth_pre_connect (freerdp * instance) +auth_pre_connect (freerdp __attribute__((unused)) *instance) { return TRUE; } BOOL -auth_post_connect (freerdp * instance) +auth_post_connect (freerdp __attribute__((unused)) *instance) { return TRUE; } int -main (int argc, char * argv[]) +main (int argc, char *argv[]) { char password[512]; if (argc != 4) { -- cgit v1.2.3