-
Problem report
-
Resolution: Fixed
-
Trivial
-
4.2.4rc1, 4.4.0alpha1
-
Sprint 53 (Jun 2019)
-
0.125
Steps to reproduce:
- Compile Zabbix server/proxy from sources
Result:
Making all in zbxprometheus zbxprometheus.c: In function ‘zbx_prometheus_pattern’: zbxprometheus.c:1535:34: warning: ‘label’ may be used uninitialized in this function [-Wmaybe-uninitialized] *value = zbx_strdup(NULL, label->value); ^~ zbxprometheus.c:1520:27: note: ‘label’ was declared here zbx_prometheus_label_t *label; ^~~~~
Expected:
No warnings that can be easily fixed. See zbxprometheus.patch.