[Bf-blender-cvs] [db4a3f93cb0] master: Fix unintended fall-through in switch statement

Sergey Sharybin noreply at git.blender.org
Thu May 16 14:56:35 CEST 2019


Commit: db4a3f93cb02f72f457f6c02662e0764e7f5733e
Author: Sergey Sharybin
Date:   Thu May 16 14:56:17 2019 +0200
Branches: master
https://developer.blender.org/rBdb4a3f93cb02f72f457f6c02662e0764e7f5733e

Fix unintended fall-through in switch statement

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

M	source/blender/editors/interface/resources.c

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

diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c
index 04cb0d27d69..06acf59e07c 100644
--- a/source/blender/editors/interface/resources.c
+++ b/source/blender/editors/interface/resources.c
@@ -805,6 +805,7 @@ const uchar *UI_ThemeGetColorPtr(bTheme *btheme, int spacetype, int colorid)
 
         case TH_EDITED_OBJECT:
           cp = ts->edited_object;
+          break;
 
         case TH_ROW_ALTERNATE:
           cp = ts->row_alternate;



More information about the Bf-blender-cvs mailing list