[Bf-blender-cvs] [4ba7d4ca9d7] master: Cleanup: remove unused identifiers

Campbell Barton noreply at git.blender.org
Thu May 16 06:15:31 CEST 2019


Commit: 4ba7d4ca9d7236e13fb89dea5d89de3de1494719
Author: Campbell Barton
Date:   Thu May 16 13:54:32 2019 +1000
Branches: master
https://developer.blender.org/rB4ba7d4ca9d7236e13fb89dea5d89de3de1494719

Cleanup: remove unused identifiers

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

M	source/blender/editors/object/object_add.c

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

diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c
index 3af05970038..a7495b516dc 100644
--- a/source/blender/editors/object/object_add.c
+++ b/source/blender/editors/object/object_add.c
@@ -161,11 +161,11 @@ static EnumPropertyItem lightprobe_type_items[] = {
     {0, NULL, 0, NULL, NULL},
 };
 
-enum ObjectAlign {
-  ALIGN_WORLD,
+enum {
+  ALIGN_WORLD = 0,
   ALIGN_VIEW,
   ALIGN_CURSOR,
-} ALIGN_OPTIONS;
+};
 
 static const EnumPropertyItem align_options[] = {
     {ALIGN_WORLD, "WORLD", 0, "World", "Align the new object to the world"},



More information about the Bf-blender-cvs mailing list