[asterisk-bugs] [JIRA] (ASTERISK-30234) res_geolocation: ...may be used uninitialized error in geoloc_config.c
George Joseph (JIRA)
noreply at issues.asterisk.org
Fri Sep 16 08:08:08 CDT 2022
George Joseph created ASTERISK-30234:
----------------------------------------
Summary: res_geolocation: ...may be used uninitialized error in geoloc_config.c
Key: ASTERISK-30234
URL: https://issues.asterisk.org/jira/browse/ASTERISK-30234
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Resources/res_geolocation
Affects Versions: 20.0.0, 19.7.0, 18.15.0, 16.29.0
Reporter: George Joseph
Severity: Major
When optimization is on....
{code}
res_geolocation/geoloc_config.c: In function 'geoloc_profile_apply_handler':
res_geolocation/geoloc_config.c:229:26: error: 'format' may be used uninitialized [-Werror=maybe-uninitialized]
229 | result = validate_location_info(id, format, profile->location_refinement);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list