summaryrefslogtreecommitdiff
path: root/libmincrypt
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
commit7fb0844174b879c717551bb086700131c5415db6 (patch)
treef92b35a9c88af33d2a5a6635505d0442459843d0 /libmincrypt
parent9428a2898c346aeff66922704d153f8bbacbcfa3 (diff)
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>
Diffstat (limited to 'libmincrypt')
-rw-r--r--libmincrypt/p256.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libmincrypt/p256.c b/libmincrypt/p256.c
index 1608d37c4..555a07a80 100644
--- a/libmincrypt/p256.c
+++ b/libmincrypt/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));
}