1
1

Cleanup: Unused variable, compiler warning

This commit is contained in:
2022-09-05 12:02:21 -05:00
parent 05952aa94d
commit 258d385857
2 changed files with 3 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ struct BlendExpander;
struct BlendLibReader;
struct BlendWriter;
struct Collection;
struct ID;
struct Library;
struct Main;
struct Object;

View File

@@ -186,6 +186,8 @@ static ID *collection_owner_get(Main *bmain, ID *id, ID *UNUSED(owner_id_hint))
}
}
BLI_assert(is_owner_found);
#else
UNUSED_VARS(bmain);
#endif
return master_collection->owner_id;