summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f2dfcc7)
CC src/snmp_la-snmp.lo
src/snmp.c:592:5: warning: Value stored to 'status' is never read
status = 0;
^ ~
1 warning generated.
for (int i = 0; i < ci->children_num; i++) {
oconfig_item_t *option = ci->children + i;
for (int i = 0; i < ci->children_num; i++) {
oconfig_item_t *option = ci->children + i;
if (strcasecmp("Address", option->key) == 0)
status = cf_util_get_string(option, &hd->address);
if (strcasecmp("Address", option->key) == 0)
status = cf_util_get_string(option, &hd->address);