From 7397fa4ae5cdf41751f1fe82ad3447d89d1fe8d5 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Thu, 29 Jun 2023 13:51:00 +0200 Subject: [PATCH] [client,common] fix uninitialized variable --- client/common/client.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/client/common/client.c b/client/common/client.c index adb991247..a24bdf594 100644 --- a/client/common/client.c +++ b/client/common/client.c @@ -1740,9 +1740,11 @@ BOOL freerdp_client_handle_pen(rdpClientContext* cctx, UINT32 flags, INT32 devic WINPR_ASSERT(rdpei); UINT32 normalizedpressure = 1024; - INT32 x, y; - UINT16 rotation; - INT16 tiltX, tiltY; + INT32 x = 0; + INT32 y = 0; + UINT16 rotation = 0; + INT16 tiltX = 0; + INT16 tiltY = 0; va_list args; va_start(args, deviceid);