diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-05 22:21:47 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-05 22:21:47 +0000 |
commit | 5a67d8e2e9cac2bdd41c588fc13e041759028ce0 (patch) | |
tree | 06f501c425bafe2187d5f7665c6cea5adee71724 /test/socket/test_nonblock.rb | |
parent | 6f586ac405ece968b7e85c88075399cdfb7c47a1 (diff) |
* 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
Diffstat (limited to 'test/socket/test_nonblock.rb')
0 files changed, 0 insertions, 0 deletions