diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-15 16:06:08 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-15 16:06:08 +0300 |
commit | 209cd5db96c2303de019f6075f6fb36e69567d4e (patch) | |
tree | f183eb620f057b31ac83671e22dbed9988b35494 /source/blender/editors | |
parent | 3130f4167d5466a22aafb246425edf55c19c79c1 (diff) |
Remove a leftover from older code
Diffstat (limited to 'source/blender/editors')
-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) { |