diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2017-08-29 16:10:54 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2017-08-29 16:10:54 +0900 |
commit | 8126a6717c80d4fc1766d7f975e872bee2f9f203 (patch) | |
tree | 8578e7c06a5e0692c7f2fa738eab9aee1783f553 /random/random-csprng.c | |
parent | a848ef44470a524c05624afb54b92cf25595acd2 (diff) | |
download | libgcrypt-8126a6717c80d4fc1766d7f975e872bee2f9f203.tar.gz |
random: Fix warnings on Windows.
* random/random-csprng.c (lock_seed_file): Vars with no use.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'random/random-csprng.c')
-rw-r--r-- | random/random-csprng.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/random/random-csprng.c b/random/random-csprng.c index 8cb35e72..b06810a0 100644 --- a/random/random-csprng.c +++ b/random/random-csprng.c @@ -704,6 +704,10 @@ lock_seed_file (int fd, const char *fname, int for_write) if (backoff < 10) backoff++ ; } +#else + (void)fd; + (void)fname; + (void)for_write; #endif /*!LOCK_SEED_FILE*/ return 0; } |