Fix some build warnings

This commit is contained in:
Vitaliy Filippov
2023-04-28 00:44:27 +03:00
parent 2a2f4f6738
commit b94587ef0e
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -219,7 +219,7 @@ int osd_t::submit_bitmap_subops(osd_op_t *cur_op, pg_t & pg)
op_data->n_subops++;
}
}
if (op_data->n_subops)
if (op_data->n_subops > 0)
{
op_data->fact_ver = 0;
op_data->done = op_data->errors = 0;