From c9e35c2ced92082c86f1ecb9ecd16c6230218c7c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 25 Sep 2022 15:14:13 +1000 Subject: Cleanup: remove redundant double parenthesis --- source/blender/gpu/opengl/gl_debug.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/gpu') diff --git a/source/blender/gpu/opengl/gl_debug.cc b/source/blender/gpu/opengl/gl_debug.cc index 4c9f766c93c..38dd339882d 100644 --- a/source/blender/gpu/opengl/gl_debug.cc +++ b/source/blender/gpu/opengl/gl_debug.cc @@ -80,7 +80,7 @@ static void APIENTRY debug_callback(GLenum UNUSED(source), const bool use_color = CLG_color_support_get(&LOG); if (ELEM(severity, GL_DEBUG_SEVERITY_LOW, GL_DEBUG_SEVERITY_NOTIFICATION)) { - if (((LOG.type->flag & CLG_FLAG_USE) && (LOG.type->level >= CLG_SEVERITY_INFO))) { + if ((LOG.type->flag & CLG_FLAG_USE) && (LOG.type->level >= CLG_SEVERITY_INFO)) { const char *format = use_color ? "\033[2m%s\033[0m" : "%s"; CLG_logf(LOG.type, CLG_SEVERITY_INFO, "Notification", "", format, message); } @@ -110,7 +110,7 @@ static void APIENTRY debug_callback(GLenum UNUSED(source), break; } - if (((LOG.type->flag & CLG_FLAG_USE) && (LOG.type->level <= clog_severity))) { + if ((LOG.type->flag & CLG_FLAG_USE) && (LOG.type->level <= clog_severity)) { CLG_logf(LOG.type, clog_severity, debug_groups, "", "%s", message); if (severity == GL_DEBUG_SEVERITY_HIGH) { /* Focus on error message. */ -- cgit v1.2.3