diff options
author | matt335672 <30179339+matt335672@users.noreply.github.com> | 2021-10-30 14:26:52 +0300 |
---|---|---|
committer | matt335672 <30179339+matt335672@users.noreply.github.com> | 2021-10-30 14:26:52 +0300 |
commit | d2284f11fcf0c7689b2b324063bf5725f5848cc8 (patch) | |
tree | eb44d4259c97cfcb29de962b71afc532fbf20a57 | |
parent | 6f1857357d436c3063813a50f7856e6539d600e4 (diff) |
Fixed compiler warning with -Wunused-parameter
-rw-r--r-- | src/module-xrdp-sink.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/module-xrdp-sink.c b/src/module-xrdp-sink.c index 9fe8efe..fa3817d 100644 --- a/src/module-xrdp-sink.c +++ b/src/module-xrdp-sink.c @@ -88,6 +88,7 @@ PA_MODULE_USAGE( #define DEFAULT_SINK_NAME "xrdp-sink" #define BLOCK_USEC 30000 //#define BLOCK_USEC (PA_USEC_PER_SEC * 2) +#define UNUSED_VAR(x) ((void) (x)) /* support for the set_state_in_io_thread callback was added in 11.99.1 */ #if defined(PA_CHECK_VERSION) && PA_CHECK_VERSION(11, 99, 1) @@ -187,6 +188,8 @@ static int sink_set_state_in_io_thread_cb(pa_sink *s, { struct userdata *u; + UNUSED_VAR(new_suspend_cause); + pa_assert(s); pa_assert_se(u = s->userdata); |