ruby-changes:50963
From: nobu <ko1@a...>
Date: Tue, 17 Apr 2018 13:13:01 +0900 (JST)
Subject: [ruby-changes:50963] nobu:r63170 (trunk): string.c: suppress warning
nobu 2018-04-17 13:12:57 +0900 (Tue, 17 Apr 2018) New Revision: 63170 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63170 Log: string.c: suppress warning * string.c (str_undump): get rid of warning C4129 by VC. Modified files: trunk/string.c Index: string.c =================================================================== --- string.c (revision 63169) +++ string.c (revision 63170) @@ -6285,7 +6285,7 @@ str_undump(VALUE str) https://github.com/ruby/ruby/blob/trunk/string.c#L6285 break; } else { - static const char force_encoding_suffix[] = ".force_encoding\(\""; + static const char force_encoding_suffix[] = ".force_encoding(\""; /* "\")" */ static const char dup_suffix[] = ".dup"; const char *encname; int encidx; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/