From e74a41794ca35b142357a45bb09b9e61221814be Mon Sep 17 00:00:00 2001 From: Robert Ancell Date: Tue, 21 Apr 2020 10:02:17 +1200 Subject: info-overview: Remove unnecessary initialization of string. Was introduced in 4d5f81e, but doesn't make sense or do anything. --- panels/info-overview/cc-info-overview-panel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panels/info-overview/cc-info-overview-panel.c b/panels/info-overview/cc-info-overview-panel.c index 9e7c1b377..98c77e97f 100644 --- a/panels/info-overview/cc-info-overview-panel.c +++ b/panels/info-overview/cc-info-overview-panel.c @@ -343,7 +343,7 @@ get_renderer_from_switcheroo (void) g_autoptr(GVariant) name = NULL; g_autoptr(GVariant) env = NULL; g_autoptr(GVariant) default_variant = NULL; - const char *name_s = 0; + const char *name_s; g_autofree const char **env_s = NULL; gsize env_len; g_autofree char *renderer = NULL; -- cgit v1.2.1