summaryrefslogtreecommitdiff
path: root/src/ext
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-05-30 12:28:55 -0400
committerNick Mathewson <nickm@torproject.org>2016-06-11 10:11:52 -0400
commit2ff20c93a5ec753a0c46ca5ecd991b8e2020f7d0 (patch)
treec49afdb5e8db4b8fdc07355ec0c997401accea9f /src/ext
parent12517c73039afa5632b475a447e277a0ec73fbd5 (diff)
downloadtor-2ff20c93a5ec753a0c46ca5ecd991b8e2020f7d0.tar.gz
tor-2ff20c93a5ec753a0c46ca5ecd991b8e2020f7d0.zip
Add -Wunused-const-variable=2 on GCC >=6.1
This caused a trivial warning in curve25519-donna-64bit.h, which had two unused constants. I commented them out.
Diffstat (limited to 'src/ext')
-rw-r--r--src/ext/ed25519/donna/curve25519-donna-64bit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ext/ed25519/donna/curve25519-donna-64bit.h b/src/ext/ed25519/donna/curve25519-donna-64bit.h
index 2941d1bcdc..50c9916768 100644
--- a/src/ext/ed25519/donna/curve25519-donna-64bit.h
+++ b/src/ext/ed25519/donna/curve25519-donna-64bit.h
@@ -8,9 +8,9 @@
typedef uint64_t bignum25519[5];
-static const uint64_t reduce_mask_40 = ((uint64_t)1 << 40) - 1;
+//static const uint64_t reduce_mask_40 = ((uint64_t)1 << 40) - 1;
static const uint64_t reduce_mask_51 = ((uint64_t)1 << 51) - 1;
-static const uint64_t reduce_mask_56 = ((uint64_t)1 << 56) - 1;
+//static const uint64_t reduce_mask_56 = ((uint64_t)1 << 56) - 1;
/* out = in */
DONNA_INLINE static void