Fixed warnings.
authorArmin Novak <armin.novak@thincast.com>
Mon, 10 Aug 2020 10:26:46 +0000 (12:26 +0200)
committerakallabeth <akallabeth@users.noreply.github.com>
Tue, 1 Dec 2020 14:10:23 +0000 (15:10 +0100)
(cherry picked from commit e50a8e09ee3feba4975c488618f5af350d851ad9)

client/X11/xf_rail.c
libfreerdp/core/message.c

index d712604..5187464 100644 (file)
@@ -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;
index 6febc14..7af29e9 100644 (file)
@@ -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: