rtmp: remove unnecessary zeroing

This commit is contained in:
Dan Kortschak 2018-09-19 11:54:33 +09:30
parent eeb1e1933b
commit 55e454453b
1 changed files with 0 additions and 1 deletions

View File

@ -425,7 +425,6 @@ func C_RTMP_Connect(r *C_RTMP, cp *C_RTMPPacket) (ok bool) {
if r.Link.hostname == "" {
return false
}
memset((*byte)(unsafe.Pointer(&service)), 0, int(unsafe.Sizeof(service)))
// TODO: port this
service.sin_family = C.AF_INET