devilhorns pushed a commit to branch master.

http://git.enlightenment.org/apps/express.git/commit/?id=b91eb6ff85908b6a2ebbf9120b3bb9544091dab6

commit b91eb6ff85908b6a2ebbf9120b3bb9544091dab6
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Mon Oct 26 11:04:58 2015 -0400

    express: Initialize home variable to NULL
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/bin/utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/utils.c b/src/bin/utils.c
index a263739..b83bbe9 100644
--- a/src/bin/utils.c
+++ b/src/bin/utils.c
@@ -543,7 +543,7 @@ _util_is_file(const char *str)
 static Eina_Bool
 _homedir_get(char *buf, size_t size)
 {
-   const char *home;
+   const char *home = NULL;
 
 #if defined (HAVE_GETUID) && defined(HAVE_GETEUID)
    if (getuid() != geteuid())

-- 


Reply via email to