mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
socket.c: suppress warnings
* ext/socket/socket.c (socket_s_ip_address_list): suppress warnings to assign pointers to literal strings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
db45ec9845
commit
7918dc352f
1 changed files with 1 additions and 1 deletions
|
@ -1789,7 +1789,7 @@ socket_s_ip_address_list(VALUE self)
|
||||||
int ret;
|
int ret;
|
||||||
struct lifnum ln;
|
struct lifnum ln;
|
||||||
struct lifconf lc;
|
struct lifconf lc;
|
||||||
char *reason = NULL;
|
const char *reason = NULL;
|
||||||
int save_errno;
|
int save_errno;
|
||||||
int i;
|
int i;
|
||||||
VALUE list = Qnil;
|
VALUE list = Qnil;
|
||||||
|
|
Loading…
Add table
Reference in a new issue