Cleanup: remove unused identifiers
authorCampbell Barton <ideasman42@gmail.com>
Thu, 16 May 2019 03:54:32 +0000 (13:54 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 16 May 2019 03:54:32 +0000 (13:54 +1000)
source/blender/editors/object/object_add.c

index 3af0597..a7495b5 100644 (file)
@@ -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"},