* 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