From 92d94e16ac1635b1aa0f2a859075ed49d4a69c90 Mon Sep 17 00:00:00 2001 From: MassimilianoPinto Date: Fri, 28 Feb 2014 17:55:57 +0100 Subject: [PATCH] Removed duplicated code Removed duplicated code --- server/core/dbusers.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/core/dbusers.c b/server/core/dbusers.c index c7511539e..707b8f946 100644 --- a/server/core/dbusers.c +++ b/server/core/dbusers.c @@ -314,8 +314,6 @@ getUsers(SERVICE *service, struct users *users) * user and passwd+1 (escaping the first byte that is '*') are * added to hashtable. */ - char ret_ip[INET_ADDRSTRLEN + 1]=""; - const char *rc; char ret_ip[INET_ADDRSTRLEN + 1]=""; const char *rc; @@ -377,7 +375,6 @@ getUsers(SERVICE *service, struct users *users) row[0], row[1]))); } - } SHA1((const unsigned char *) users_data, strlen(users_data), hash);