[Bf-blender-cvs] [ab9731ccea5] master: Cleanup: fallthrough attribute warning

Campbell Barton noreply at git.blender.org
Sun May 5 04:54:27 CEST 2019


Commit: ab9731ccea592bbf8b6931803671b5172a19f7f9
Author: Campbell Barton
Date:   Sun May 5 12:13:10 2019 +1000
Branches: master
https://developer.blender.org/rBab9731ccea592bbf8b6931803671b5172a19f7f9

Cleanup: fallthrough attribute warning

Fall-through without label or default after it.

===================================================================

M	source/blender/gpu/intern/gpu_texture.c

===================================================================

diff --git a/source/blender/gpu/intern/gpu_texture.c b/source/blender/gpu/intern/gpu_texture.c
index 61f86e70898..ad4831ed903 100644
--- a/source/blender/gpu/intern/gpu_texture.c
+++ b/source/blender/gpu/intern/gpu_texture.c
@@ -544,6 +544,8 @@ static bool gpu_texture_check_capacity(
           return false;
         }
         ATTR_FALLTHROUGH;
+      default:
+        break;
     }
 
     return true;



More information about the Bf-blender-cvs mailing list