浏览代码

more warning cleanup

Adam Ierymenko 6 年之前
父节点
当前提交
6c44fcc290
共有 1 个文件被更改,包括 4 次插入0 次删除
  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