aboutsummaryrefslogtreecommitdiffstats
path: root/sprintf.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-26 13:30:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-26 13:30:08 +0000
commit57d6cb4af92892de6f9b54b58747dc5432d6d03c (patch)
treede9c39559a21ae48c807bc444f33389c2e74452f /sprintf.c
parent767358108ecfd71055f6c75d14f439f3b6b43efb (diff)
downloadruby-57d6cb4af92892de6f9b54b58747dc5432d6d03c.tar.gz
sprintf.c: remove extra parentheses
* sprintf.c (GETASTER): remove extra parentheses from the second argument so that the error message does not contain them. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sprintf.c')
-rw-r--r--sprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sprintf.c b/sprintf.c
index 52a7168dc9..9a08764448 100644
--- a/sprintf.c
+++ b/sprintf.c
@@ -120,7 +120,7 @@ sign_bits(int base, const char *p)
#define GETASTER(val) do { \
t = p++; \
n = 0; \
- GETNUM(n, (val)); \
+ GETNUM(n, val); \
if (*p == '$') { \
tmp = GETPOSARG(n); \
} \