From e50a8e09ee3feba4975c488618f5af350d851ad9 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Mon, 10 Aug 2020 12:26:46 +0200 Subject: [PATCH] Fixed warnings. --- client/X11/xf_rail.c | 2 +- libfreerdp/core/message.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/client/X11/xf_rail.c b/client/X11/xf_rail.c index d712604e0..51874640a 100644 --- a/client/X11/xf_rail.c +++ b/client/X11/xf_rail.c @@ -595,7 +595,7 @@ static xfRailIcon* RailIconCache_Lookup(xfRailIconCache* cache, UINT8 cacheId, U * in ARGB format (e.g., 0xFFFF0000L is opaque red), pixels are in normal, * left-to-right top-down order. */ -static BOOL convert_rail_icon(ICON_INFO* iconInfo, xfRailIcon* railIcon) +static BOOL convert_rail_icon(const ICON_INFO* iconInfo, xfRailIcon* railIcon) { BYTE* argbPixels = NULL; BYTE* nextPixel; diff --git a/libfreerdp/core/message.c b/libfreerdp/core/message.c index 6febc14e4..7af29e94d 100644 --- a/libfreerdp/core/message.c +++ b/libfreerdp/core/message.c @@ -2804,6 +2804,8 @@ static int input_message_free_input_class(wMessage* msg, int type) { int status = 0; + WINPR_UNUSED(msg); + switch (type) { case Input_SynchronizeEvent: