diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-21 09:10:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-21 09:10:23 +0000 |
commit | 87af442f946da3b5ab3bc8fb351824ec8c240fe7 (patch) | |
tree | 792f75b9f15c0da49ecf99a8512ccd5581f59733 /ext/socket/unixsocket.c | |
parent | c6b6293bc13b9107cad52f407810cddc4dd0b475 (diff) |
* suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/unixsocket.c')
-rw-r--r-- | ext/socket/unixsocket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/unixsocket.c b/ext/socket/unixsocket.c index 6bdaa94620..82893abcfe 100644 --- a/ext/socket/unixsocket.c +++ b/ext/socket/unixsocket.c @@ -472,9 +472,9 @@ static VALUE unix_s_socketpair(int argc, VALUE *argv, VALUE klass) { VALUE domain, type, protocol; - domain = INT2FIX(PF_UNIX); VALUE args[3]; + domain = INT2FIX(PF_UNIX); rb_scan_args(argc, argv, "02", &type, &protocol); if (argc == 0) type = INT2FIX(SOCK_STREAM); |