From 8f98359bb878af440409baa8dc64943756642929 Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 9 Apr 2020 14:50:41 +0200 Subject: applet-main: remove unreachable-code warning reported by scan-build --- src/applet-main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/applet-main.c b/src/applet-main.c index 85e831e..afdb296 100644 --- a/src/applet-main.c +++ b/src/applet-main.c @@ -926,7 +926,6 @@ log_to_file (const gchar * domain G_GNUC_UNUSED, if (error != NULL) { g_error("Unable to make directory '%s' for log file: %s", g_get_user_cache_dir(), error->message); - return; } } @@ -938,7 +937,6 @@ log_to_file (const gchar * domain G_GNUC_UNUSED, &error); /* error */ if (error != NULL) { g_error("Unable to replace file: %s", error->message); - return; } log_file = g_io_stream_get_output_stream(G_IO_STREAM(io)); -- cgit v1.2.1