1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/socket
normal 5a67d8e2e9 * ext/socket/ancdata.c (bsock_sendmsg_internal): drop redundant assignment
We call memset to zero `mh' a few lines above anyways, making
explicitly zero-ing each field unnecessary.

Compilers optimize this code away anyways, but it still costs me
4 lines of my small terminal and even smaller attention span.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-06-05 22:21:47 +00:00
..
lib
.document
addrinfo.h
ancdata.c * ext/socket/ancdata.c (bsock_sendmsg_internal): drop redundant assignment 2015-06-05 22:21:47 +00:00
basicsocket.c
constants.c
depend
extconf.rb
getaddrinfo.c
getnameinfo.c
ifaddr.c
init.c socket: avoid redundant fcntl on Linux 2015-05-29 02:24:18 +00:00
ipsocket.c
mkconstants.rb
option.c
raddrinfo.c
rubysocket.h socket: avoid redundant fcntl on Linux 2015-05-29 02:24:18 +00:00
socket.c
sockport.h
sockssocket.c
tcpserver.c
tcpsocket.c
udpsocket.c
unixserver.c
unixsocket.c