Merge pull request #1680 from matt335672/issue1679

Fix compilation warnings/errors in xrdp-neutrinordp.c
This commit is contained in:
matt335672 2020-09-07 10:01:35 +01:00 committed by GitHub
commit f2dda1e0bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1394,7 +1394,7 @@ static void
lfreerdp_polygon_sc(rdpContext *context, POLYGON_SC_ORDER *polygon_sc) lfreerdp_polygon_sc(rdpContext *context, POLYGON_SC_ORDER *polygon_sc)
{ {
struct mod *mod; struct mod *mod;
int i, npoints; int i;
struct { struct {
short x, y; short x, y;
} points[4]; } points[4];
@ -1448,8 +1448,11 @@ lfreerdp_polygon_sc(rdpContext *context, POLYGON_SC_ORDER *polygon_sc)
static void static void
lfreerdp_synchronize(rdpContext *context) lfreerdp_synchronize(rdpContext *context)
{ {
/* Uncomment these two lines when needed */
#if 0
struct mod *mod; struct mod *mod;
mod = ((struct mod_context *)context)->modi; mod = ((struct mod_context *)context)->modi;
#endif
LLOGLN(12, ("lfreerdp_synchronize received - not handled")); LLOGLN(12, ("lfreerdp_synchronize received - not handled"));
} }