base85: encode_85() does not use the decode table

Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Andreas Gruenbacher 2010-01-08 17:22:18 +01:00 committed by Junio C Hamano
parent 75b7e16b6e
commit b0bec518aa

View File

@ -84,8 +84,6 @@ int decode_85(char *dst, const char *buffer, int len)
void encode_85(char *buf, const unsigned char *data, int bytes) void encode_85(char *buf, const unsigned char *data, int bytes)
{ {
prep_base85();
say("encode 85"); say("encode 85");
while (bytes) { while (bytes) {
unsigned acc = 0; unsigned acc = 0;