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 "";