From 3f360991ae839993eedcfd5de420d8ebce3998bb Mon Sep 17 00:00:00 2001 From: INSUN PYO Date: Tue, 24 Oct 2017 22:56:14 +0000 Subject: [PATCH] Coverity fixes. Signed-off-by: INSUN PYO Change-Id: I67956e80952b2b1808022807d88bb14ee08cff1b --- src/daemon/core/gumd-daemon-user.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/daemon/core/gumd-daemon-user.c b/src/daemon/core/gumd-daemon-user.c index 39d6085..bf1211d 100755 --- a/src/daemon/core/gumd-daemon-user.c +++ b/src/daemon/core/gumd-daemon-user.c @@ -1324,7 +1324,8 @@ _delete_userinfo(GumdDaemonUser *self) if (!_get_userinfo_path(self, path, sizeof(path))) return; - g_remove(path); + if (g_remove(path)) + WARN("Failed to delete userinfo file %s", path); } static gboolean -- 2.7.4