random: Fix warnings on Windows.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 29 Aug 2017 07:10:54 +0000 (16:10 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 29 Aug 2017 07:10:54 +0000 (16:10 +0900)
* random/random-csprng.c (lock_seed_file): Vars with no use.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
random/random-csprng.c

index 8cb35e7..b06810a 100644 (file)
@@ -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;
 }