summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2011-07-14 18:44:46 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2011-08-05 12:26:51 +0100
commit0c4a2087c6ae734405649793327f371771f990db (patch)
treebef7c31aea4c86500d135142649538d7117ad49d /test
parent565ae9dea907d2f8677f556bd29a0c3a52f9decc (diff)
downloaddbus-0c4a2087c6ae734405649793327f371771f990db.tar.gz
Remove various never-used variables
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39231 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
Diffstat (limited to 'test')
-rw-r--r--test/dbus-daemon.c2
-rw-r--r--test/marshal.c1
-rw-r--r--test/name-test/test-privserver-client.c1
3 files changed, 0 insertions, 4 deletions
diff --git a/test/dbus-daemon.c b/test/dbus-daemon.c
index c190cb43..eaacb877 100644
--- a/test/dbus-daemon.c
+++ b/test/dbus-daemon.c
@@ -150,8 +150,6 @@ echo_filter (DBusConnection *connection,
void *user_data)
{
DBusMessage *reply;
- DBusError error = DBUS_ERROR_INIT;
- int *sleep_ms = user_data;
if (dbus_message_get_type (message) != DBUS_MESSAGE_TYPE_METHOD_CALL)
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
diff --git a/test/marshal.c b/test/marshal.c
index 4cee9412..e9ac7e30 100644
--- a/test/marshal.c
+++ b/test/marshal.c
@@ -146,7 +146,6 @@ test_endian (Fixture *f,
gconstpointer arg)
{
const gchar *blob = arg;
- const gchar *native_blob;
char *output;
DBusMessage *m;
int len;
diff --git a/test/name-test/test-privserver-client.c b/test/name-test/test-privserver-client.c
index 1c43faee..e7f48960 100644
--- a/test/name-test/test-privserver-client.c
+++ b/test/name-test/test-privserver-client.c
@@ -71,7 +71,6 @@ open_shutdown_private_connection (dbus_bool_t use_guid)
DBusMessage *reply;
DBusConnection *privconn;
char *addr;
- char *comma;
dbus_bool_t service_died;
dbus_bool_t private_conn_lost;