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

Avoidable compiler warning in proxy.c

    XMLWordPrintable

    Details

    • Team:
      Team A
    • Sprint:
      Sprint 53 (Jun 2019), Sprint 54 (Jul 2019)
    • Story Points:
      0.125

      Description

      Steps to reproduce:

      1. Compile Zabbix server/proxy from sources.

      Result:

      Making all in zbxdbhigh
      proxy.c: In function ‘process_discovery_data_contents’:
      proxy.c:3442:8: warning: ‘services_num’ may be used uninitialized in this function [-Wmaybe-uninitialized]
        int   services_num, ret = FAIL, i;
              ^~~~~~~~~~~~
      

      Expected:
      No warnings that can be easily fixed. See proxy.patch.

        Attachments

          Activity

            People

            Assignee:
            viktors.tjarve Viktors Tjarve
            Reporter:
            cyclone Glebs Ivanovskis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: