[sr-dev] [kamailio/kamailio] lrkproxy: compile warning (#2663)

Daniel-Constantin Mierla notifications at github.com
Tue Mar 9 12:51:06 CET 2021


Compiling the new `lrkproxy` module with clang throws the following warning:

```
CC (gcc) [M lrkproxy.so]		lrkproxy.o
lrkproxy.c:1228:28: warning: address of array 'e->node->lrkp_n_c->internal_ip' will always evaluate to 'true' [-Wpointer-bool-conversion]
    if (e->node->lrkp_n_c->internal_ip && flags) {
        ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~
1 warning generated.
```

Looks like something that needs to be sorted out, comparison with an array address.

-- 
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/2663
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210309/ed2ea6ef/attachment-0001.htm>


More information about the sr-dev mailing list