From 2c5bf74c71443f1680fef4fc0daa4a4c9dd10ad8 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Fri, 12 Feb 2010 14:15:27 +0100 Subject: Supress warnings with -O2 --- server/util/find_uid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/util') diff --git a/server/util/find_uid.c b/server/util/find_uid.c index 63907f17..965966ef 100644 --- a/server/util/find_uid.c +++ b/server/util/find_uid.c @@ -184,7 +184,7 @@ static errno_t get_active_uid_linux(hash_table_t *table, uid_t search_uid) DIR *proc_dir = NULL; struct dirent *dirent; int ret; - pid_t pid; + pid_t pid = -1; uid_t uid; hash_key_t key; -- cgit