dilyanpalauzov left a comment (kamailio/kamailio#4781)

My understanding is that this style of initialization:
- avoids a function call (`memset()`)
- avoids setting twice a value, before reading it.

For the latter, before this change, wsev.buf was first set to zero, and then to 
`wsev.buf = buf;`.  With this change the step to set to zero is skipped, 
because it is unnecessary.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4781#issuecomment-4851332402
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/pull/4781/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to