Skip to content

Commit

Permalink
[Minor] Remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Jun 26, 2023
1 parent 2872db1 commit 0e49327
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/libserver/composites/composites_manager.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -266,10 +266,7 @@ struct map_cbdata {
static void
map_dtor (struct map_cb_data *data) {
auto *cbd = reinterpret_cast<map_cbdata *>(data->cur_data);

if (cbd) {
delete cbd;
}
delete cbd;
}
};

Expand Down

0 comments on commit 0e49327

Please sign in to comment.