Fix control reaches end of non-void function error

This commit is contained in:
2022-10-19 17:31:56 +02:00
parent 96c085d4af
commit bad7340811

View File

@@ -1633,6 +1633,11 @@ GHOST_TDrawingContextType wm_ghost_drawing_context_type(const eGPUBackendType gp
return GHOST_kDrawingContextTypeNone;
#endif
}
/* Avoid control reaches end of non-void function compilation warning, which could be promoted
* to error. */
BLI_assert_unreachable();
return GHOST_kDrawingContextTypeNone;
}
/** \} */