[sr-dev] [kamailio/kamailio] build warnings (#2710)

sergey-safarov notifications at github.com
Sat Apr 17 13:06:54 CEST 2021


could you check this https://stackoverflow.com/questions/14670864/gcc-member-initialization-in-array-of-struct
Maybe
```diff
 sdp_session_cell_t *psession;
 char pflagbuf [5];
 strcpy (pflagbuf, "z20");
-fparam_t pzflag [1] = {"", FPARAM_STRING, {pflagbuf}, 0};
+fparam_t pzflag [1] = {
+    {"", FPARAM_STRING, {pflagbuf}, 0}
+};
 for (nsession = 0; (psession = get_sdp_session (pmsg, nsession)); nsession++)
   {
   int nstream;
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2710#issuecomment-821806288
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210417/900e823c/attachment.htm>


More information about the sr-dev mailing list