From af1a5c75a0816b929aed2590ad320d2852b4beb4 Mon Sep 17 00:00:00 2001 From: cacu Date: Tue, 8 Mar 2016 20:30:59 +0100 Subject: [PATCH] Avoid warnings when compiling without uECC_VLI_NATIVE_LITTLE_ENDIAN --- uECC.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uECC.c b/uECC.c index f3dacb8..63ec6f9 100644 --- a/uECC.c +++ b/uECC.c @@ -157,6 +157,7 @@ struct uECC_Curve_t { #endif }; +#if uECC_VLI_NATIVE_LITTLE_ENDIAN static void bcopy(uint8_t *dst, const uint8_t *src, unsigned num_bytes) { @@ -165,6 +166,7 @@ static void bcopy(uint8_t *dst, dst[num_bytes] = src[num_bytes]; } } +#endif static cmpresult_t uECC_vli_cmp_unsafe(const uECC_word_t *left, const uECC_word_t *right,