diff options
Diffstat (limited to 'source/blender/editors/animation/drivers.c')
-rw-r--r-- | source/blender/editors/animation/drivers.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/editors/animation/drivers.c b/source/blender/editors/animation/drivers.c index 27bed693619..99e4128ef54 100644 --- a/source/blender/editors/animation/drivers.c +++ b/source/blender/editors/animation/drivers.c @@ -635,10 +635,6 @@ void ANIM_driver_vars_copybuf_free(void) { /* Free the driver variables kept in the buffer */ if (driver_vars_copybuf.first) { - /* We use a dummy driver here, as the variable freeing code assumes there's a driver */ - ChannelDriver dummy_driver = {{NULL}}; - dummy_driver.variables = driver_vars_copybuf; - /* Free variables (and any data they use) */ DriverVar *dvar, *dvarn; for (dvar = driver_vars_copybuf.first; dvar; dvar = dvarn) { |