From 1c30bc4cca5a3f02f42f1c857c0ee74bb13a2d09 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 31 Jul 2008 03:23:55 +0000 Subject: * pack.c (pack_unpack): upper half of hexdigits has never been used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- pack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pack.c') diff --git a/pack.c b/pack.c index f7f51ac9fa..8f26365d7c 100644 --- a/pack.c +++ b/pack.c @@ -1291,7 +1291,7 @@ infected_str_new(const char *ptr, long len, VALUE str) static VALUE pack_unpack(VALUE str, VALUE fmt) { - static const char *hexdigits = "0123456789abcdef0123456789ABCDEFx"; + static const char hexdigits[] = "0123456789abcdef"; char *s, *send; char *p, *pend; VALUE ary; -- cgit v1.2.3