From: Nicolas François Date: Fri, 9 Aug 2013 12:12:01 +0000 (+0200) Subject: Remove unused variable. X-Git-Tag: 4.2.1~41 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14ebc92d8cbb587f332448b5bc885ff3eec0bf12;p=shadow Remove unused variable. * libmisc/salt.c: Remove unused variable. --- 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 "";