Cleanup: remove unused variables
authorSybren A. Stüvel <sybren@blender.org>
Tue, 1 Oct 2019 10:55:11 +0000 (12:55 +0200)
committerSybren A. Stüvel <sybren@blender.org>
Tue, 1 Oct 2019 10:55:25 +0000 (12:55 +0200)
source/blender/editors/animation/drivers.c

index 121683be4072d1c265f412839d3b44e5480c9f11..61c8da08954b6c3cf06d610af4c99cb118099dd8 100644 (file)
@@ -120,9 +120,6 @@ struct FCurve *alloc_driver_fcurve(const char rna_path[],
   fcu->array_index = array_index;
 
   if (!ELEM(creation_mode, DRIVER_FCURVE_LOOKUP_ONLY, DRIVER_FCURVE_EMPTY)) {
-    BezTriple *bezt;
-    size_t i;
-
     /* add some new driver data */
     fcu->driver = MEM_callocN(sizeof(ChannelDriver), "ChannelDriver");