[sr-dev] [kamailio/kamailio] corex: fix compiler warning #612 (#616)

Victor Seva notifications at github.com
Thu May 12 18:07:05 CEST 2016


* show error message if error in read file

> CC (clang) [M corex.so]     corex_mod.o
> corex_mod.c:352:2: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result]
>         fread(content, fsize, 1, f);
>        ^~~~~ ~~~~~~~~~~~~~~~~~~~~
> 1 warning generated.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * corex: fix compiler warning #612

-- File Changes --

    M modules/corex/corex_mod.c (7)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/616.patch
https://github.com/kamailio/kamailio/pull/616.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/616
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160512/7476903a/attachment.html>


More information about the sr-dev mailing list