[Bf-blender-cvs] [f983606063c] master: Cleanup: remove unused variables

Sybren A. Stüvel noreply at git.blender.org
Tue Oct 1 12:55:33 CEST 2019


Commit: f983606063c68c5edb0921f999f1c4fe3f80a28e
Author: Sybren A. Stüvel
Date:   Tue Oct 1 12:55:11 2019 +0200
Branches: master
https://developer.blender.org/rBf983606063c68c5edb0921f999f1c4fe3f80a28e

Cleanup: remove unused variables

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

M	source/blender/editors/animation/drivers.c

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

diff --git a/source/blender/editors/animation/drivers.c b/source/blender/editors/animation/drivers.c
index 121683be407..61c8da08954 100644
--- a/source/blender/editors/animation/drivers.c
+++ b/source/blender/editors/animation/drivers.c
@@ -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");



More information about the Bf-blender-cvs mailing list