Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix comparison between pointer and zero character constant.
Fix zabbix-tools#44 See, libzbxsystemd.c: In function ‘SYSTEMD_UNIT_DISCOVERY’: libzbxsystemd.c:214:35: warning: comparison between pointer and zero character constant [-Wpointer-compare] 214 | if(NULL != filter || '\0' != filter) | ^~ libzbxsystemd.c:214:38: note: did you mean to dereference the pointer? 214 | if(NULL != filter || '\0' != filter) | Signed-off-by: Mario Trangoni <[email protected]>
- Loading branch information