Remove unused variable.

* libmisc/salt.c: Remove unused variable.
This commit is contained in:
Nicolas François 2013-08-09 14:12:01 +02:00
parent 45986f8dc8
commit 14ebc92d8c
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2013-08-09 Nicolas François <nicolas.francois@centraliens.net>
* libmisc/salt.c: Remove unused variable.
2013-08-07 Nicolas François <nicolas.francois@centraliens.net>
* libmisc/utmp.c: Add include files needed for getaddrinfo().

View File

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