summaryrefslogtreecommitdiffstats
path: root/pack.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-31 03:23:55 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-31 03:23:55 +0000
commit056c68fdfe99a12ab198a9b96b87a7556fb17499 (patch)
tree69c4d5243a7a57a9096e965ba8e1ab8da461105f /pack.c
parentb65e1918f21cc8eb078d6cb17cbf8ab340b2da11 (diff)
downloadruby-056c68fdfe99a12ab198a9b96b87a7556fb17499.tar.gz
ruby-056c68fdfe99a12ab198a9b96b87a7556fb17499.tar.xz
ruby-056c68fdfe99a12ab198a9b96b87a7556fb17499.zip
* pack.c (pack_unpack): upper half of hexdigits has never been used.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'pack.c')
-rw-r--r--pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pack.c b/pack.c
index f7f51ac9f..8f26365d7 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;