summaryrefslogtreecommitdiff
path: root/base85.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2010-01-08 17:22:18 +0100
committerJunio C Hamano <gitster@pobox.com>2010-01-09 22:43:37 -0800
commitb0bec518aa4a90485c411cebc7260425271af949 (patch)
tree118c24020392fe7768cf1c7703caa9f134aed8d6 /base85.c
parent75b7e16b6ea49d0a0da821373ae5ee3a0ee36f2e (diff)
downloadgit-b0bec518aa4a90485c411cebc7260425271af949.tar.gz
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>
Diffstat (limited to 'base85.c')
-rw-r--r--base85.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/base85.c b/base85.c
index 7b76542531..f2b9a24d5e 100644
--- a/base85.c
+++ b/base85.c
@@ -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)
{
- prep_base85();
-
say("encode 85");
while (bytes) {
unsigned acc = 0;