Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-5572

compilation warnings

XMLWordPrintable

      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

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

              Created:
              Updated:
              Resolved: