summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authormichal <michal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-21 13:52:21 +0000
committermichal <michal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-21 13:52:21 +0000
commita443067ba2dec25185260857bdb22c5637e263c9 (patch)
tree7d2babeeba45c9be6ad9c0ec15e89c4a0dd80ca9 /eval.c
parent32f85f3caa42dd0d896b1d049dd74bcb6b4beb12 (diff)
Exchange do { } while (0) for ((void)0)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 5de75f9..171eadf 100644
--- a/eval.c
+++ b/eval.c
@@ -938,7 +938,7 @@ static void call_trace_func _((char*,NODE*,VALUE,ID,VALUE));
#define SET_CURRENT_SOURCE() (ruby_sourcefile = ruby_current_node->nd_file, \
ruby_sourceline = nd_line(ruby_current_node))
#else
-#define SET_CURRENT_SOURCE() do { } while (0)
+#define SET_CURRENT_SOURCE() ((void)0)
#endif
void