mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-02 17:26:17 +01:00
gdbusdaemon: Fix unused variable warning
Signed-off-by: Philip Withnall <withnall@endlessm.com> Helps: #1767
This commit is contained in:
parent
d99653f6fe
commit
8fe58ffe12
@ -1465,10 +1465,11 @@ filter_function (GDBusConnection *connection,
|
||||
gpointer user_data)
|
||||
{
|
||||
Client *client = user_data;
|
||||
const char *types[] = {"invalid", "method_call", "method_return", "error", "signal" };
|
||||
|
||||
if (0)
|
||||
g_printerr ("%s%s %s %d(%d) sender: %s destination: %s %s %s.%s\n",
|
||||
{
|
||||
const char *types[] = {"invalid", "method_call", "method_return", "error", "signal" };
|
||||
g_printerr ("%s%s %s %d(%d) sender: %s destination: %s %s %s.%s\n",
|
||||
client->id,
|
||||
incoming? "->" : "<-",
|
||||
types[g_dbus_message_get_message_type (message)],
|
||||
@ -1479,6 +1480,7 @@ filter_function (GDBusConnection *connection,
|
||||
g_dbus_message_get_path (message),
|
||||
g_dbus_message_get_interface (message),
|
||||
g_dbus_message_get_member (message));
|
||||
}
|
||||
|
||||
if (incoming)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user