...G...PS. [ZBX-8172] fixed a bit of style and a compilation warning during code review