summaryrefslogtreecommitdiff
path: root/random/random-csprng.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2017-08-29 16:10:54 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2017-08-29 16:10:54 +0900
commit8126a6717c80d4fc1766d7f975e872bee2f9f203 (patch)
tree8578e7c06a5e0692c7f2fa738eab9aee1783f553 /random/random-csprng.c
parenta848ef44470a524c05624afb54b92cf25595acd2 (diff)
downloadlibgcrypt-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.c4
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;
}