<pre><code>CC (clang) [M db_berkeley.so]       km_db_berkeley.o
km_db_berkeley.c:486:58: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
                if ((ret = bdb_get_columns(_tbc->dtp, *_r, lres, _nc)) < 0) 
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
km_db_berkeley.c:513:50: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
                        if ((ret=bdb_append_row( *_r, dbuf, lres, i)) < 0) 
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
km_db_berkeley.c:567:58: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
                if ((ret = bdb_get_columns(_tbc->dtp, *_r, lres, _nc)) < 0) 
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
km_db_berkeley.c:572:47: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
                if ((ret=bdb_convert_row( *_r, dbuf, lres)) < 0) 
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
4 warnings generated.
</code></pre>

<pre><code>CC (clang) [M auth_radius.so]       authorize.o
authorize.c:110:8: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
        ret = AUTH_NONCE_REUSED;
            ~ ^~~~~~~~~~~~~~~~~
authorize.c:114:8: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
        ret = AUTH_STALE_NONCE;
            ~ ^~~~~~~~~~~~~~~~
authorize.c:120:8: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
        ret = AUTH_ERROR;
            ~ ^~~~~~~~~~
authorize.c:124:8: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
        ret = AUTH_NO_CREDENTIALS;
            ~ ^~~~~~~~~~~~~~~~~~~
authorize.c:131:8: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
        ret = AUTH_OK;
            ~ ^~~~~~~
authorize.c:148:9: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
                ret = AUTH_ERROR;
                    ~ ^~~~~~~~~~
authorize.c:153:12: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
            ret = AUTH_ERROR;
                ~ ^~~~~~~~~~
authorize.c:159:12: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
            ret = AUTH_ERROR;;
                ~ ^~~~~~~~~~
authorize.c:186:12: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
            ret = AUTH_ERROR;
                ~ ^~~~~~~~~~
authorize.c:189:12: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
            ret = AUTH_OK;
                ~ ^~~~~~~
authorize.c:193:8: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
        ret = AUTH_INVALID_PASSWORD;
            ~ ^~~~~~~~~~~~~~~~~~~~~
11 warnings generated.
</code></pre>

<pre><code>CC (clang) [M misc_radius.so]       functions.o
functions.c:47:27: warning: comparison of array 'vp->strvalue' equal to a null pointer is always false [-Wtautological-pointer-compare]
        if (vp->lvalue==0 || vp->strvalue==0)
                             ~~~~^~~~~~~~  ~
1 warning generated.
</code></pre>

<pre><code>CC (clang) [M peering.so]       verify.o
verify.c:58:30: warning: comparison of array 'vp->strvalue' equal to a null pointer is always false [-Wtautological-pointer-compare]
    if (vp->lvalue==0 || vp->strvalue==0)
                         ~~~~^~~~~~~~  ~
1 warning generated.
</code></pre>

<pre><code>CC (clang) [M pua_xmpp.so]      xmpp2simple.o
xmpp2simple.c:372:10: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
                slash= '\0';
                       ^~~~
1 warning generated.
</code></pre>

<pre><code>CC (clang) [M db2_ldap.so]      ld_fld.o
ld_fld.c:831:19: warning: unused function 'db_double2ldap_str' [-Wunused-function]
static inline int db_double2ldap_str(struct sbuf* buf, db_fld_t* fld)
                  ^
</code></pre>

<pre><code>CC (clang) [M xmpp.so]      xmpp_server.o
In file included from xmpp_server.c:96:
./xode.h:75:9: warning: 'snprintf' macro redefined [-Wmacro-redefined]
#define snprintf ap_snprintf
        ^
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:11: note: previous definition is here
#  define snprintf(str, len, ...) \
          ^
1 warning generated.
</code></pre>

<pre><code>CC (clang) [M xmpp.so]      xpool.o
In file included from xpool.c:41:
./xode.h:75:9: warning: 'snprintf' macro redefined [-Wmacro-redefined]
#define snprintf ap_snprintf
        ^
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:11: note: previous definition is here
#  define snprintf(str, len, ...) \
          ^
1 warning generated.
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/653">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AF36ZeEr65sRKC7qhHYP5GKmp81UXNKOks5qICHKgaJpZM4Itfok">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZddW-TeCcWaPolfOUpEkiW35TerNks5qICHKgaJpZM4Itfok.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/653"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>