summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-26 21:47:13 +0200
committerraveit65 <[email protected]>2021-12-25 12:44:03 +0100
commit04c38d80626d706e1c40ea53befb5372c85f289c (patch)
tree3cd5d9d5fd38bf407c06a4dcfe5f6a5956b96f2e
parent91cc381e3d2c72001c30c1966ed062a3a1f601d5 (diff)
downloadengrampa-04c38d80626d706e1c40ea53befb5372c85f289c.tar.bz2
engrampa-04c38d80626d706e1c40ea53befb5372c85f289c.tar.xz
test-server: Remove unreachable code after calling g_error
-rw-r--r--src/test-server.c2
1 files changed, 0 insertions, 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)