dead_error_condition: On this path, the condition "list" cannot be false.
list = list->next;
- } while(list);
+ } while (list);
}
static void _monitor_storage(Server *s)
msg("");
list = list->next;
- } while(list);
+ } while (list);
}
static void _monitor_communicator(Server *s)
msg("");
list = list->next;
- } while(list);
+ } while (list);
}
static void _monitor_modems(Server *s)
if (list == NULL)
return;
- do {
+ for (; list != NULL; list = g_slist_next(list)) {
p = list->data;
if (p == NULL)
continue;
tcore_server_print_modems(p);
- } while(list);
+ }
}
void monitor_server_state(Server *s)