Cleanup: Silence clang-tidy warning.

This commit is contained in:
Jeroen Bakker 2021-11-26 08:00:05 +01:00
parent a073e1e401
commit e3cf7ebdb1
1 changed files with 2 additions and 1 deletions

View File

@ -608,7 +608,8 @@ std::string AssetCatalogTreeViewAllItem::DropController::drop_tooltip(const wmDr
TIP_("to the top level of the tree");
}
bool AssetCatalogTreeViewAllItem::DropController::on_drop(struct bContext *, const wmDrag &drag)
bool AssetCatalogTreeViewAllItem::DropController::on_drop(struct bContext *UNUSED(C),
const wmDrag &drag)
{
BLI_assert(drag.type == WM_DRAG_ASSET_CATALOG);
return AssetCatalogDropController::drop_asset_catalog_into_catalog(