aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-07 23:47:59 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-07 23:47:59 +0000
commitd8bcfd2b12cfd0919cd5c42ef546ae259c9b4160 (patch)
tree620e9dc22b2c0e75900df06da6e6146d273f30b0 /parse.y
parent472959f9c20e7aff1776312d6c8e2236a52e29a7 (diff)
downloadruby-d8bcfd2b12cfd0919cd5c42ef546ae259c9b4160.tar.gz
Add volatile to a suppress warning.
Without the fix, the following warning is shown: compiling cont.c cont.c: In function ‘rb_callcc’: cont.c:949:39: warning: passing argument 1 of ‘cont_capture’ discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers] volatile VALUE val = cont_capture(&called); ^ cont.c:473:1: note: expected ‘int * volatile’ but argument is of type ‘volatile int *’ cont_capture(int *volatile stat) ^ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
0 files changed, 0 insertions, 0 deletions