Details

      Description

      this might be a specific gcc version in a specific configuration, but this is the default - i haven't modified warning flags.

      host.c: In function 'DBcopy_template_elements':
      host.c:2489:4: warning: 'applicationid' may be used uninitialized in this function [-Wuninitialized]
      host.c:2444:16: note: 'applicationid' was declared here
      lld.c: In function 'DBlld_process_discovery_rule':
      lld.c:785:4: warning: 'error_esc' may be used uninitialized in this function [-Wuninitialized]
      lld.c:666:24: note: 'error_esc' was declared here
      housekeeper.c: In function 'main_housekeeper_loop':
      housekeeper.c:315:3: warning: call to function 'housekeeping_cleanup' without a real prototype [-Wunprototyped-calls]
      housekeeper.c:45:12: note: 'housekeeping_cleanup' was declared here
      nodehistory.c: In function 'node_history':
      nodehistory.c:460:14: warning: 'clock' may be used uninitialized in this function [-Wuninitialized]
      nodehistory.c:402:7: note: 'clock' was declared here
      nodehistory.c:460:14: warning: 'value_double' may be used uninitialized in this function [-Wuninitialized]
      nodehistory.c:403:10: note: 'value_double' was declared here

        Activity

        Hide
        Alexander Vladishev added a comment -

        Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-5572

        Show
        Alexander Vladishev added a comment - Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-5572
        Hide
        richlv added a comment - - edited

        configure flags used originally :
        --enable-server --enable-agent --with-net-snmp --with-libcurl --with-ldap --enable-ipv6 --with-ssh2 --with-openipmi --with-unixodbc --with-mysql

        Show
        richlv added a comment - - edited configure flags used originally : --enable-server --enable-agent --with-net-snmp --with-libcurl --with-ldap --enable-ipv6 --with-ssh2 --with-openipmi --with-unixodbc --with-mysql
        Hide
        dimir added a comment -

        Well done.

        Show
        dimir added a comment - Well done.
        Hide
        Alexander Vladishev added a comment - - edited

        Fixed in pre-2.0.4 r30496 and pre-2.1.0 (trunk) r30497.

        Show
        Alexander Vladishev added a comment - - edited Fixed in pre-2.0.4 r30496 and pre-2.1.0 (trunk) r30497.

          People

          • Assignee:
            Unassigned
            Reporter:
            richlv
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: