summary refs log tree commit diff stats
path: root/src/common/util.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-07-28 16:18:27 -0400
committerTingPing <tingping@tingping.se>2014-07-28 16:18:27 -0400
commita854234c1fdd38fc963724fd9078606522422eb9 (patch)
treedf482e389a7e317c2fdf51ab7f1077ce6d47938e /src/common/util.c
parent4b549eeac894f4faf7b9023f823e2b79c5697586 (diff)
Fix warning
Diffstat (limited to 'src/common/util.c')
-rw-r--r--src/common/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 3b2b372e..b5ee1af2 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -249,7 +249,7 @@ char *
 expand_homedir (char *file)
 {
 #ifndef WIN32
-	char *ret, *user;
+	char *user;
 	struct passwd *pw;
 
 	if (file[0] == '~')