Split development option into separate things
This commit is contained in:
@@ -14,10 +14,6 @@ AM_LDFLAGS =
|
||||
|
||||
LIBXRDP_EXTRA_LIBS =
|
||||
|
||||
if XRDP_DEBUG
|
||||
AM_CPPFLAGS += -DXRDP_DEBUG
|
||||
endif
|
||||
|
||||
if XRDP_NEUTRINORDP
|
||||
AM_CPPFLAGS += -DXRDP_NEUTRINORDP
|
||||
LIBXRDP_EXTRA_LIBS += $(FREERDP_LIBS)
|
||||
|
||||
+1
-1
@@ -626,7 +626,7 @@ static int
|
||||
xrdp_caps_process_surface_cmds(struct xrdp_rdp *self, struct stream *s, int len)
|
||||
{
|
||||
int cmdFlags;
|
||||
#ifndef XRDP_DEBUG
|
||||
#ifndef USE_DEVEL_LOGGING
|
||||
/* TODO: remove UNUSED_VAR once the `cmdFlags` variable is used for more than
|
||||
logging in debug mode */
|
||||
UNUSED_VAR(cmdFlags);
|
||||
|
||||
+1
-1
@@ -1406,7 +1406,7 @@ xrdp_sec_recv_fastpath(struct xrdp_sec *self, struct stream *s)
|
||||
int len;
|
||||
int pad;
|
||||
|
||||
#ifndef XRDP_DEBUG
|
||||
#ifndef USE_DEVEL_LOGGING
|
||||
/* TODO: remove UNUSED_VAR once the `ver` variable is used for more than
|
||||
logging in debug mode */
|
||||
UNUSED_VAR(ver);
|
||||
|
||||
Reference in New Issue
Block a user