Cleanup: Unused variable, compiler warning
This commit is contained in:
@@ -26,6 +26,7 @@ struct BlendExpander;
|
||||
struct BlendLibReader;
|
||||
struct BlendWriter;
|
||||
struct Collection;
|
||||
struct ID;
|
||||
struct Library;
|
||||
struct Main;
|
||||
struct Object;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user