From 83380695633e0b9dc79ce8eefd3c0e97ff5503c8 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 20 Apr 2021 22:15:43 +0200 Subject: libayatana-indicator/indicator-service{,-manager}.c: Drop return statements and g_error_free() calls that never get reached. --- libayatana-indicator/indicator-service-manager.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libayatana-indicator/indicator-service-manager.c') diff --git a/libayatana-indicator/indicator-service-manager.c b/libayatana-indicator/indicator-service-manager.c index 049d176..33bcba9 100644 --- a/libayatana-indicator/indicator-service-manager.c +++ b/libayatana-indicator/indicator-service-manager.c @@ -286,7 +286,6 @@ set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec case PROP_NAME: if (priv->name != NULL) { g_error("Name can not be set twice!"); - return; } priv->name = g_value_dup_string(value); start_service(self); -- cgit v1.2.3