[sr-dev] [kamailio/kamailio] sms: fix compiler warning #612 (#617)

Victor Seva notifications at github.com
Thu May 12 18:43:06 CEST 2016


* show error message if error in write

> CC (clang) [M sms.so]       libsms_modem.o
> libsms_modem.c:77:2: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result]
>        write(mdm->fd,cmd,cmd_len);
>        ^~~~~ ~~~~~~~~~~~~~~~~~~~
>1 warning generated.
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/617

-- Commit Summary --

  * sms: fix compiler warning #612

-- File Changes --

    M modules/sms/libsms_modem.c (4)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/617.patch
https://github.com/kamailio/kamailio/pull/617.diff

---
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/pull/617
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160512/210ead55/attachment.html>


More information about the sr-dev mailing list