Fix control reaches end of non-void function error
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/** \} */
|
||||
|
||||
Reference in New Issue
Block a user