Details
-
Type:
Problem report
-
Status: Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 4.2.4rc1, 4.4.0alpha1
-
Fix Version/s: 4.2.4rc1, 4.4.0alpha1, 4.4 (plan)
-
Component/s: Proxy (P), Server (S)
-
Labels:
-
Team:Team A
-
Sprint:Sprint 53 (Jun 2019)
-
Story Points:0.125
Description
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.