[Bf-blender-cvs] [c55e90da4c8] blender2.8: Cleanup: -Wswitch warning

Campbell Barton noreply at git.blender.org
Sat Jun 2 21:39:20 CEST 2018


Commit: c55e90da4c834783778518e6603224fc1f13df70
Author: Campbell Barton
Date:   Sat Jun 2 21:38:31 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBc55e90da4c834783778518e6603224fc1f13df70

Cleanup: -Wswitch warning

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

M	source/blender/editors/screen/screen_ops.c

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

diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c
index dd808d122d2..3c627f6ed73 100644
--- a/source/blender/editors/screen/screen_ops.c
+++ b/source/blender/editors/screen/screen_ops.c
@@ -1388,6 +1388,8 @@ static int area_snap_calc_location(
 			}
 			break;
 		}
+		case SNAP_NONE:
+			break;
 	}
 
 	return final_loc;



More information about the Bf-blender-cvs mailing list