CC (clang) [M db_redis.so] redis_table.o
redis_table.c:728:27: warning: comparison of constant -1 with expression of type
'unsigned char' is always false [-Wtautological-constant-out-of-range-compare]
if (c == EOF) {
~ ^ ~~~
redis_table.c:754:27: warning: comparison of constant -1 with expression of type
'unsigned char' is always false [-Wtautological-constant-out-of-range-compare]
if (c == EOF) {
~ ^ ~~~
redis_table.c:794:40: warning: comparison of constant -1 with expression of type
'unsigned char' is always true [-Wtautological-constant-out-of-range-compare]
if (c != '\n' && c != EOF) {
~ ^ ~~~
redis_table.c:807:20: warning: comparison of constant -1 with expression of type
'unsigned char' is always true [-Wtautological-constant-out-of-range-compare]
} while (c != EOF);
~ ^ ~~~
You can view, comment on, or merge this pull request
online at:
https://github.com/kamailio/kamailio/pull/1495
-- Commit Summary --
* db_redis: fix compilation warning
-- File Changes --
M src/modules/db_redis/redis_table.c (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1495.patch
https://github.com/kamailio/kamailio/pull/1495.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/1495