Browse Source

more warning cleanup

Adam Ierymenko 6 năm trước cách đây
mục cha
commit
6c44fcc290
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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