Cleanup: compiler warning

This commit is contained in:
Brecht Van Lommel 2020-05-20 01:15:08 +02:00
parent 8f050b6825
commit dfe8195dfe
1 changed files with 0 additions and 1 deletions

View File

@ -8133,7 +8133,6 @@ static void lib_link_workspace_layout_restore(struct IDNameLib_Map *id_map,
LISTBASE_FOREACH (SpaceLink *, sl, &area->spacedata) {
if (sl->spacetype == SPACE_VIEW3D) {
View3D *v3d = (View3D *)sl;
ARegion *region;
v3d->camera = restore_pointer_by_name(id_map, (ID *)v3d->camera, USER_REAL);
v3d->ob_center = restore_pointer_by_name(id_map, (ID *)v3d->ob_center, USER_REAL);