From 23b58aeb702e3322299a01ac41da335d62d3c8c3 Mon Sep 17 00:00:00 2001 From: matt335672 <30179339+matt335672@users.noreply.github.com> Date: Mon, 7 Sep 2020 09:38:23 +0100 Subject: [PATCH] Fix compilation warnings/errors in xrdp-neutrinordp.c --- neutrinordp/xrdp-neutrinordp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/neutrinordp/xrdp-neutrinordp.c b/neutrinordp/xrdp-neutrinordp.c index 543e91d3..68ee0cbf 100644 --- a/neutrinordp/xrdp-neutrinordp.c +++ b/neutrinordp/xrdp-neutrinordp.c @@ -1394,7 +1394,7 @@ static void lfreerdp_polygon_sc(rdpContext *context, POLYGON_SC_ORDER *polygon_sc) { struct mod *mod; - int i, npoints; + int i; struct { short x, y; } points[4]; @@ -1448,8 +1448,11 @@ lfreerdp_polygon_sc(rdpContext *context, POLYGON_SC_ORDER *polygon_sc) static void lfreerdp_synchronize(rdpContext *context) { + /* Uncomment these two lines when needed */ +#if 0 struct mod *mod; mod = ((struct mod_context *)context)->modi; +#endif LLOGLN(12, ("lfreerdp_synchronize received - not handled")); }