[gnome-panel] layout: remove unneeded NULL check
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] layout: remove unneeded NULL check
- Date: Sun, 21 Mar 2021 15:44:12 +0000 (UTC)
commit 57620ec09cf791c822c15b9e0265608259f1f319
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Mar 21 15:10:13 2021 +0200
layout: remove unneeded NULL check
Coverity CID: #1502707
gnome-panel/panel-layout.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gnome-panel/panel-layout.c b/gnome-panel/panel-layout.c
index 3ae48af03..639c3051e 100644
--- a/gnome-panel/panel-layout.c
+++ b/gnome-panel/panel-layout.c
@@ -596,8 +596,7 @@ out:
if (groups)
g_strfreev (groups);
- if (keyfile)
- g_key_file_free (keyfile);
+ g_key_file_free (keyfile);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]