From 62c76cf82518ce5d8c69ece862108ee6256d863b Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Mon, 13 Jan 2014 23:01:45 -0500 Subject: base64.c: comment out unused variable Commit e47eb9a7 commented out base64_encode, which left base64_enc_map unused, causing warnings under clang. Signed-off-by: Andrew Gregory Signed-off-by: Allan McRae --- lib/libalpm/base64.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libalpm/base64.c') diff --git a/lib/libalpm/base64.c b/lib/libalpm/base64.c index 32c44459..31ecca11 100644 --- a/lib/libalpm/base64.c +++ b/lib/libalpm/base64.c @@ -36,6 +36,7 @@ #include "base64.h" +#if 0 static const unsigned char base64_enc_map[64] = { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', @@ -46,6 +47,7 @@ static const unsigned char base64_enc_map[64] = 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '+', '/' }; +#endif static const unsigned char base64_dec_map[128] = { -- cgit v1.2.3-24-g4f1b