From 04c38d80626d706e1c40ea53befb5372c85f289c Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 26 Oct 2021 21:47:13 +0200 Subject: test-server: Remove unreachable code after calling g_error --- src/test-server.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/test-server.c b/src/test-server.c index effe83e..56a6a68 100644 --- a/src/test-server.c +++ b/src/test-server.c @@ -37,7 +37,6 @@ engrampa_getsupportedtypes_ready_cb (GObject *source_object, values = g_dbus_proxy_call_finish (proxy, res, &error); if (values == NULL) { g_error ("%s\n", error->message); - g_clear_error (&error); } else { GVariantIter argument_iter; @@ -100,7 +99,6 @@ engrampa_addtoarchive_ready_cb (GObject *source_object, values = g_dbus_proxy_call_finish (proxy, res, &error); if (values == NULL) { g_error ("%s\n", error->message); - g_clear_error (&error); } if (values != NULL) -- cgit v1.2.1