code cleanup: unused defines, shadowing and unintended enum-as-variable.
[blender.git] / source / blender / editors / transform / transform_conversions.c
index 43c73fd46fc0f3e49767c168b4d434f2e1b332fc..cf960c953c33e34eb74def4256c5685ab1a68bcf 100644 (file)
@@ -5742,10 +5742,10 @@ static void createTransNodeData(bContext *UNUSED(C), TransInfo *t)
 
 /* * motion tracking * */
 
-enum {
+enum transDataTracking_Mode {
        transDataTracking_ModeTracks = 0,
-       transDataTracking_ModeCurves = 1,
-} transDataTracking_Mode;
+       transDataTracking_ModeCurves = 1
+};
 
 typedef struct TransDataTracking {
        int mode, flag;