aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2014-05-12 17:47:39 +0200
committerBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2014-05-12 17:47:39 +0200
commit39095f0daa4731546d3b8b1e0cfac248ad1f1f4b (patch)
treead08aea094955d42ad43109039c16c8deecf0947
parent6092743d8ada8d3099783e0e705caa8829362c73 (diff)
downloadlibconstrainedcrypto-39095f0daa4731546d3b8b1e0cfac248ad1f1f4b.tar.gz
Remove declaration of unused static variable
The declaration is useless and triggers a warning with clang 3.5 (in code that's built with -Werror) Change-Id: I8fc42178df264509dcce6e1f1ba318bf849307e3 Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r--p256.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/p256.c b/p256.c
index 1608d37..555a07a 100644
--- a/p256.c
+++ b/p256.c
@@ -49,8 +49,6 @@ const p256_int SECP256r1_b = // curve b
{{0x27d2604b, 0x3bce3c3e, 0xcc53b0f6, 0x651d06b0,
0x769886bc, 0xb3ebbd55, 0xaa3a93e7, 0x5ac635d8}};
-static const p256_int p256_one = P256_ONE;
-
void p256_init(p256_int* a) {
memset(a, 0, sizeof(*a));
}