Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/base64.c
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2014-01-13 23:01:45 -0500
committerAllan McRae <allan@archlinux.org>2014-01-15 15:54:56 +1000
commit62c76cf82518ce5d8c69ece862108ee6256d863b (patch)
treeb926b214c165c14cf02cd1c65dd623322ea52f90 /lib/libalpm/base64.c
parentb01c2aefd9212403832743727143143693c8ad63 (diff)
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 <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/base64.c')
-rw-r--r--lib/libalpm/base64.c2
1 files changed, 2 insertions, 0 deletions
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] =
{