This prevents a clang warning.
Signed-off-by: Jeroen Hofstee <jer...@myspectrum.nl>
---
lib/sha1.c:392:19: warning: unused variable '_sha1_src' 
[-Wunused-const-variable]
static const char _sha1_src[] = "_sha1_src";
                  ^
---
 lib/sha1.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/sha1.c b/lib/sha1.c
index 0a5f688..05b17a2 100644
--- a/lib/sha1.c
+++ b/lib/sha1.c
@@ -389,8 +389,6 @@ void sha1_hmac(const unsigned char *key, int keylen,
        memset (&ctx, 0, sizeof (sha1_context));
 }
 
-static const char _sha1_src[] = "_sha1_src";
-
 #ifdef SELF_TEST
 /*
  * FIPS-180-1 test vectors
-- 
1.8.3.2

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to