Преглед на файлове

mark a variable unused.

Nick Mathewson преди 8 години
родител
ревизия
0df014edad
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      src/common/crypto.c

+ 2 - 0
src/common/crypto.c

@@ -2426,6 +2426,8 @@ crypto_strongest_rand_syscall(uint8_t *out, size_t out_len)
    * the only gotcha is that requests are limited to 256 bytes.
    */
   return getentropy(out, out_len);
+#else
+  (void) out;
 #endif
 
   /* This platform doesn't have a supported syscall based random. */