diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-01 00:51:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-01 00:51:38 +0300 |
commit | 951d89b7b41b5b3e8c799f5df12b9ded48ed49fe (patch) | |
tree | 77a10d693b0f35415891847cb29078307ba557bc /intern/clog/clog.c | |
parent | d18116a2975fd6d931affbe0ac4c44e23e82c7ff (diff) |
Cleanup: warning
Diffstat (limited to 'intern/clog/clog.c')
-rw-r--r-- | intern/clog/clog.c | 3 |
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: |