check_snmp: Close potential for using uninitialized memory
commita20611d4357c3c3ebe0a62776a1642e7904c1410
authorRobin Sonefors <robin.sonefors@op5.com>
Tue, 29 Jan 2013 14:08:44 +0000 (29 15:08 +0100)
committerRobin Sonefors <robin.sonefors@op5.com>
Tue, 29 Jan 2013 14:30:04 +0000 (29 15:30 +0100)
tree60a320d4a521bb3de4d556b618da0f17d3d05c0e
parentd87395ec3d4bec777ab92fc74c8370877171259f
check_snmp: Close potential for using uninitialized memory

This was reported by clang, and in order for it to understand attributes
properly, I had to modify the macro that checks for non-gcc compilers.

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
plugins/check_snmp.c
plugins/common.h