Sfoglia il codice sorgente

mark a variable unused to fix a warning.

Nick Mathewson 8 anni fa
parent
commit
14c9b99051
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/common/tortls.c

+ 1 - 0
src/common/tortls.c

@@ -1310,6 +1310,7 @@ find_cipher_by_id(const SSL *ssl, const SSL_METHOD *m, uint16_t cipher)
 {
   const SSL_CIPHER *c;
 #ifdef HAVE_SSL_CIPHER_FIND
+  (void) m;
   {
     unsigned char cipherid[3];
     tor_assert(ssl);