summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3ecd366)
CID
1021557 (#1 of 1): Logically dead code (DEADCODE)
dead_error_line:
Execution cannot reach this statement "goto end;".
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
if (iter->main_callbacks.callback) {
for (i = 0; i < iter->main_callbacks.callback->len; i++) {
cb = &g_array_index(iter->main_callbacks.callback, struct bt_callback, i);
if (iter->main_callbacks.callback) {
for (i = 0; i < iter->main_callbacks.callback->len; i++) {
cb = &g_array_index(iter->main_callbacks.callback, struct bt_callback, i);
ret = cb->callback(&ctf_data, cb->private_data);
switch (ret) {
case BT_CB_OK_STOP:
ret = cb->callback(&ctf_data, cb->private_data);
switch (ret) {
case BT_CB_OK_STOP: