[ZBX-15378] Unused parameter warning when compiling server without libxml2 Created: 2018 Dec 27 Updated: 2024 Apr 10 Resolved: 2019 Jan 05 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 4.2.0alpha3 |
Fix Version/s: | 4.2.0alpha3, 4.2 (plan) |
Type: | Problem report | Priority: | Trivial |
Reporter: | Glebs Ivanovskis | Assignee: | Andris Mednis |
Resolution: | Fixed | Votes: | 0 |
Labels: | codequality | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
||||||||
Team: | Team A | ||||||||
Sprint: | Sprint 47, Dec 2018 | ||||||||
Story Points: | 0.125 |
Description |
Steps to reproduce:
Result: Making all in preprocessor item_preproc.c: In function ‘item_preproc_get_error_from_xml’: item_preproc.c:1262:99: warning: unused parameter ‘errmsg’ [-Wunused-parameter] static int item_preproc_get_error_from_xml(const zbx_variant_t *value, const char *params, char **errmsg, ^~~~~~ Expected: |
Comments |
Comment by Andris Mednis [ 2018 Dec 27 ] |
Thanks, Gleb |
Comment by Andris Mednis [ 2018 Dec 28 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-15378 |
Comment by Andrejs Sitals (Inactive) [ 2019 Jan 02 ] |
Succesfully tested. |
Comment by Andris Mednis [ 2019 Jan 02 ] |
Available in versions:
|