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
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-04-01 00:51:38 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-04-01 00:51:38 +0300
commit951d89b7b41b5b3e8c799f5df12b9ded48ed49fe (patch)
tree77a10d693b0f35415891847cb29078307ba557bc /intern
parentd18116a2975fd6d931affbe0ac4c44e23e82c7ff (diff)
Cleanup: warning
Diffstat (limited to 'intern')
-rw-r--r--intern/clog/clog.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/intern/clog/clog.c b/intern/clog/clog.c
index 291d5712973..dfbd34d341a 100644
--- a/intern/clog/clog.c
+++ b/intern/clog/clog.c
@@ -236,8 +236,7 @@ static const char *clg_severity_as_text(enum CLG_Severity severity)
static enum eCLogColor clg_severity_to_color(enum CLG_Severity severity)
{
- bool ok = (unsigned int)severity < CLG_SEVERITY_LEN;
- assert(ok);
+ assert((unsigned int)severity < CLG_SEVERITY_LEN);
enum eCLogColor color = COLOR_DEFAULT;
switch (severity) {
case CLG_SEVERITY_INFO: