Fix compilation warnings

XMLWordPrintable

    • Type: Problem report
    • Resolution: Won't fix
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Sprint 23
    • 0.2

      http://192.168.3.90/job/zabbix-3.4/job/backend-build/497/console

           [exec] Making all in zbxcomms
           [exec] comms.c:1449:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           [exec]     if (0 != (left = MIN(ZBX_TCP_LINE_LEN - s->read_bytes, ptr - buffer)))
           [exec]                                                     ^
           [exec] comms.c:1449:98: warning: signed and unsigned type in conditional expression [-Wsign-compare]
           [exec]     if (0 != (left = MIN(ZBX_TCP_LINE_LEN - s->read_bytes, ptr - buffer)))
           [exec]                                                                                                   ^
      
           [exec] Making all in zbxcrypto
           [exec] tls.c: In function ‘zbx_x509_dn_gets’:
           [exec] tls.c:2156:3: warning: value computed is not used [-Wunused-value]
           [exec]    BIO_set_close(bio, BIO_CLOSE); /* ensure that associated memory buffer will be freed by BIO_vfree() */
           [exec]    ^
      

            Assignee:
            Unassigned
            Reporter:
            Rostislav Palivoda (Inactive)
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: