OSDN Git Service

Remove declaration of unused static variable
authorBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Mon, 12 May 2014 15:47:39 +0000 (17:47 +0200)
committerBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Mon, 12 May 2014 15:47:39 +0000 (17:47 +0200)
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>
libmincrypt/p256.c

index 1608d37..555a07a 100644 (file)
@@ -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));
 }