1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* suppress warnings with -Wwrite-string.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-05-31 09:28:20 +00:00
parent 1b039e2a92
commit 075530a685
31 changed files with 65 additions and 61 deletions

View file

@ -69,7 +69,7 @@ error_print(void)
VALUE errat = Qnil; /* OK */
VALUE errinfo = GET_THREAD()->errinfo;
volatile VALUE eclass, e;
char *einfo;
const char *einfo;
long elen;
if (NIL_P(errinfo))
@ -188,7 +188,7 @@ ruby_error_print(void)
void
rb_print_undef(VALUE klass, ID id, int scope)
{
char *v;
const char *v;
switch (scope) {
default: