diff options
Diffstat (limited to 'source/blender/blenkernel/intern/workspace.c')
-rw-r--r-- | source/blender/blenkernel/intern/workspace.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/workspace.c b/source/blender/blenkernel/intern/workspace.c index 65eb08aba27..05dab9208e5 100644 --- a/source/blender/blenkernel/intern/workspace.c +++ b/source/blender/blenkernel/intern/workspace.c @@ -117,11 +117,11 @@ static void *workspace_relation_get_data_matching_parent( * Hence, this should only be used as assert check before assigining a screen to a workspace. */ #ifndef NDEBUG -static bool workspaces_is_screen_used( +static bool workspaces_is_screen_used #else -static bool UNUSED_FUNCTION(workspaces_is_screen_used)( +static bool UNUSED_FUNCTION(workspaces_is_screen_used) #endif - const Main *bmain, bScreen *screen) + (const Main *bmain, bScreen *screen) { for (WorkSpace *workspace = bmain->workspaces.first; workspace; workspace = workspace->id.next) { if (workspace_layout_find_exec(workspace, screen)) { |