Attention is currently required from: fixeria, laforge, osmith.
pespin has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/40481?usp=email )
Change subject: asp: Introduce support to configure and enable TCP keep-alive ......................................................................
Patch Set 3:
(1 comment)
File src/ss7_asp.c:
https://gerrit.osmocom.org/c/libosmo-sigtran/+/40481/comment/6841a513_de993f... : PS3, Line 801:
what kind of syntax is that "(void) rc;" without assigning any value to rc? I don't know what it is […]
This is a "well-known" way to write a "NO-OP" in C which can basically be used to let compiler see the var as used and don't warn about, ie. stating that it's known by programmer that the variable is not used.
I prefer having it this way since it shows the reader that there's a return code, plus allows debugging the return code with the debugger.