From bd2a1db5af92ffc53d0125611b18ad0df7d8fa72 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 12 Oct 2009 02:28:48 +0000 Subject: [PATCH] * marshal.c (r_object0): suppressed a warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- marshal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/marshal.c b/marshal.c index f6e1e386a8..814a238391 100644 --- a/marshal.c +++ b/marshal.c @@ -1507,9 +1507,9 @@ r_object0(struct load_arg *arg, int *ivp, VALUE extmod) if (!ivp || !has_encoding(arg)) { VALUE pat; VALUE dst; - char *rsrc = + static const char rsrc[] = "(?