From 14ebc92d8cbb587f332448b5bc885ff3eec0bf12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Fran=C3=A7ois?= Date: Fri, 9 Aug 2013 14:12:01 +0200 Subject: [PATCH] Remove unused variable. * libmisc/salt.c: Remove unused variable. --- ChangeLog | 4 ++++ libmisc/salt.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 918b95a4..ec19a818 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-08-09 Nicolas François + + * libmisc/salt.c: Remove unused variable. + 2013-08-07 Nicolas François * libmisc/utmp.c: Add include files needed for getaddrinfo(). diff --git a/libmisc/salt.c b/libmisc/salt.c index d88f998a..156a3252 100644 --- a/libmisc/salt.c +++ b/libmisc/salt.c @@ -124,7 +124,6 @@ static /*@observer@*/const char *SHA_salt_rounds (/*@null@*/int *prefered_rounds if (NULL == prefered_rounds) { long min_rounds = getdef_long ("SHA_CRYPT_MIN_ROUNDS", -1); long max_rounds = getdef_long ("SHA_CRYPT_MAX_ROUNDS", -1); - double rand_rounds; if ((-1 == min_rounds) && (-1 == max_rounds)) { return "";