Sfoglia il codice sorgente

more warning cleanup

Adam Ierymenko 6 anni fa
parent
commit
6c44fcc290
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      node/C25519.cpp

+ 4 - 0
node/C25519.cpp

@@ -22,6 +22,10 @@ Derived from public domain code by D. J. Bernstein.
 #pragma warning(disable: 4146)
 #endif
 
+#ifdef __GNUC__
+#pragma GCC diagnostic ignored "-Wunused-function"
+#endif
+
 namespace {
 
 #define crypto_int32 int32_t