From 339cac8fc71f9409f97a4bfc3f42f912c262c06d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 14 Jun 2011 09:53:26 -0400 Subject: [PATCH] Remove unneeded NULL check We ensure 10 lines up that parameters is not NULL. --- gio/gdbusconnection.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gio/gdbusconnection.c b/gio/gdbusconnection.c index c0ad4e860..2319fc023 100644 --- a/gio/gdbusconnection.c +++ b/gio/gdbusconnection.c @@ -3423,8 +3423,7 @@ emit_signal_instance_in_idle_cb (gpointer data) parameters, signal_instance->user_data); - if (parameters != NULL) - g_variant_unref (parameters); + g_variant_unref (parameters); return FALSE; }