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

Avoidable compiler warning in proxy.c

XMLWordPrintable

    • Sprint 53 (Jun 2019), Sprint 54 (Jul 2019)
    • 0.125

      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.

        1. proxy.patch
          0.7 kB
          Glebs Ivanovskis

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

              Created:
              Updated:
              Resolved: