Cleanup: unused warning
authorCampbell Barton <ideasman42@gmail.com>
Thu, 6 Aug 2015 06:52:28 +0000 (16:52 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 6 Aug 2015 06:52:28 +0000 (16:52 +1000)
source/blender/makesrna/intern/rna_userdef.c

index b4ae82290fd76d2630ec3bb5912f60ac4c0ea552..7a6bfa04db74a72b2159f573ebfe895cf00b5c90 100644 (file)
@@ -646,6 +646,9 @@ static EnumPropertyItem *rna_userdef_audio_device_itemf(bContext *UNUSED(C), Poi
 #endif
 #endif
 
+       /* may be unused */
+       UNUSED_VARS(index, audio_device_items);
+
        RNA_enum_item_end(&item, &totitem);
        *r_free = true;