From ee6d95ab2592cd0ed8ea59352aa7b29c765d0662 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Fri, 13 Jun 2025 10:15:56 +0200 Subject: [PATCH] [warnings] fix unused warnings --- client/common/client.c | 1 - libfreerdp/core/timer.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/client/common/client.c b/client/common/client.c index 78666ff5f..934cbbfe7 100644 --- a/client/common/client.c +++ b/client/common/client.c @@ -1048,7 +1048,6 @@ static BOOL client_cli_get_rdsaad_access_token(freerdp* instance, const char* sc char* url = NULL; char* token_request = NULL; char* redirect_uri = NULL; - size_t redirec_uri_len = 0; WINPR_ASSERT(scope); WINPR_ASSERT(req_cnf); diff --git a/libfreerdp/core/timer.c b/libfreerdp/core/timer.c index 08c283604..1153d8b0a 100644 --- a/libfreerdp/core/timer.c +++ b/libfreerdp/core/timer.c @@ -27,10 +27,10 @@ #include "utils.h" #include "timer.h" -#define TAG FREERDP_TAG("timer") - #if !defined(EMSCRIPTEN) #define FREERDP_TIMER_SUPPORTED +#else +#define TAG FREERDP_TAG("timer") #endif typedef ALIGN64 struct