mirror of
https://github.com/moparisthebest/pacman
synced 2025-02-28 17:31:52 -05:00
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>
This commit is contained in:
parent
b01c2aefd9
commit
62c76cf825
@ -36,6 +36,7 @@
|
|||||||
|
|
||||||
#include "base64.h"
|
#include "base64.h"
|
||||||
|
|
||||||
|
#if 0
|
||||||
static const unsigned char base64_enc_map[64] =
|
static const unsigned char base64_enc_map[64] =
|
||||||
{
|
{
|
||||||
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J',
|
'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',
|
'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7',
|
||||||
'8', '9', '+', '/'
|
'8', '9', '+', '/'
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
static const unsigned char base64_dec_map[128] =
|
static const unsigned char base64_dec_map[128] =
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user