[ZBX-10578] some functions calls unnecessary init_result() before calling process() function Created: 2016 Mar 25 Updated: 2018 Oct 15 Resolved: 2017 Oct 10 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G), Server (S) |
Affects Version/s: | 2.2.10, 2.2.11 |
Fix Version/s: | 4.0.0alpha1, 4.0 (plan) |
Type: | Patch request | Priority: | Trivial |
Reporter: | MATSUDA Daiki | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 1 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | zabbix-2.2.11-removed-unneccessary-init_result.patch |
Epic Link: | DEV-591 |
Team: | Team A |
Sprint: | Sprint 17, Sprint 18 |
Story Points: | 1 |
Description |
some functions calls unnecessary init_result() before calling process() function because in process() function it is called. In 2.2.11 followings are |
Comments |
Comment by Glebs Ivanovskis (Inactive) [ 2016 Mar 29 ] |
You are right! Thanks for pointing this out! |
Comment by MATSUDA Daiki [ 2016 Mar 30 ] |
I think that init_result() should be removed from process() and any functions which declare the variable 'AGENT_RESULT result' must call init_result(). |
Comment by Andrea Biscuola (Inactive) [ 2017 Oct 09 ] |
Resolved in svn://svn.zabbix.com/branches/dev/ZBX-10578 In some places, the init_result() function is being called by both Original diff from MATSUDA Daiki. Minor adaptations from me |
Comment by Andrea Biscuola (Inactive) [ 2017 Oct 10 ] |
Released in:
|