From dbf4f52fe0b7644ab607a6edd66facc6f1736693 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 7 Aug 2020 12:39:50 +0200 Subject: Cleanup: ImBuf, Clang-Tidy else-after-return fixes This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/imbuf` module. No functional changes. --- source/blender/imbuf/intern/util_gpu.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source/blender/imbuf/intern/util_gpu.c') diff --git a/source/blender/imbuf/intern/util_gpu.c b/source/blender/imbuf/intern/util_gpu.c index 52628f5aaad..c52f671f59f 100644 --- a/source/blender/imbuf/intern/util_gpu.c +++ b/source/blender/imbuf/intern/util_gpu.c @@ -230,9 +230,8 @@ GPUTexture *IMB_create_gpu_texture(ImBuf *ibuf, bool use_high_bitdepth, bool use if (tex != NULL) { return tex; } - else { - fprintf(stderr, "ST3C support not found,"); - } + + fprintf(stderr, "ST3C support not found,"); } /* Fallback to uncompressed texture. */ fprintf(stderr, " falling back to uncompressed.\n"); -- cgit v1.2.3