The current status items are unaffected by any blob operations, so this code
is completely unnecessary.
if (data == current_aft_row)
current_aft_row = NULL;
return 0;
- }
- case BLOB_RENAME:
- case BLOB_REMOVE:
- case BLOB_ADD: {
- /*
- * These events are rare. We don't bother to check whether the
- * current status items are affected and simply recreate them
- * whenever an audio file is open.
- */
- if (!current_aft_row)
- return 0;
- ret = get_afhi_of_row(current_aft_row,
- &status_item_ls_data.afhi);
- if (ret < 0)
- return ret;
- make_status_items();
- return 0;
} default:
return 0;
}