fix trivial comiler warning for last commit

This commit is contained in:
Jeff Lenk 2011-04-28 14:39:24 -05:00
parent bd471fc6a9
commit e56cbeef41

View File

@ -337,7 +337,7 @@ SWITCH_DECLARE(switch_status_t) switch_xml_config_parse_event(switch_event_t *ev
int32_t *dest = (int32_t *) ptr;
int index = (int) (intptr_t) item->data;
int8_t currentval = (int8_t) ! !(*dest & index);
int8_t newval = 0;
int newval = 0;
if (value) {
newval = switch_true(value);