summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-04-09 14:50:41 +0200
committerZenWalker <[email protected]>2020-04-15 01:53:13 +0200
commit8f98359bb878af440409baa8dc64943756642929 (patch)
tree687fbe1f89fe82a657570e797d0b18d4b8b75eee
parent4b55003793c99afc52f35823744d163f9a604eec (diff)
downloadmate-indicator-applet-8f98359bb878af440409baa8dc64943756642929.tar.bz2
mate-indicator-applet-8f98359bb878af440409baa8dc64943756642929.tar.xz
applet-main: remove unreachable-code warning reported by scan-build
-rw-r--r--src/applet-main.c2
1 files changed, 0 insertions, 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));