Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-03-20 21:56:19 +0300
committerJacques Lucke <jacques@blender.org>2021-03-20 21:56:19 +0300
commit11494e9472db54c0dc078c9d97fe9c53b763641b (patch)
tree58cfa5bc25a2faaf3284cbd5096d78a0478b55a4 /source/blender/windowmanager/intern/wm_files.c
parent90959c23728fe569d16ce0a962e841e5accd9e51 (diff)
BLI: add macro to indicate unreachable codetemp-unreachable-abort
Diffstat (limited to 'source/blender/windowmanager/intern/wm_files.c')
-rw-r--r--source/blender/windowmanager/intern/wm_files.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index a9b30f91bee..03fd3f9bb5a 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -2298,8 +2298,7 @@ static int operator_state_dispatch(bContext *C, wmOperator *op, OperatorDispatch
return target.run(C, op);
}
}
- BLI_assert(false);
- return OPERATOR_CANCELLED;
+ BLI_UNREACHABLE_ABORT;
}
/** \} */