[gtk-vnc] tests: annotate unused parameters
- From: Daniel P. Berrange <dberrange src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-vnc] tests: annotate unused parameters
- Date: Tue, 6 Aug 2019 13:38:47 +0000 (UTC)
commit 5f00abf8665a4be4ac6a719b8f750e130116441e
Author: Daniel P. Berrangé <berrange redhat com>
Date: Mon Aug 5 18:26:01 2019 +0100
tests: annotate unused parameters
Signed-off-by: Daniel P. Berrangé <berrange redhat com>
src/vncconnectiontest.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/vncconnectiontest.c b/src/vncconnectiontest.c
index c095bad..06ff2a3 100644
--- a/src/vncconnectiontest.c
+++ b/src/vncconnectiontest.c
@@ -248,7 +248,7 @@ static void test_helper_disconnected(VncConnection *conn G_GNUC_UNUSED,
g_main_quit(test->loop);
}
-static void test_helper_error(VncConnection *conn,
+static void test_helper_error(VncConnection *conn G_GNUC_UNUSED,
const char *str,
gpointer opaque)
{
@@ -256,7 +256,8 @@ static void test_helper_error(VncConnection *conn,
test->error = g_strdup(str);
}
-static void test_common_bounds_server(GInputStream *is, GOutputStream *os)
+static void test_common_bounds_server(GInputStream *is G_GNUC_UNUSED,
+ GOutputStream *os)
{
/* Frame buffer width / height */
test_send_u16(os, 100);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]