- modal keymap for border select
[blender-staging.git] / source / blender / editors / animation / drivers.c
index 5c2cbce4c5d55949da4255023ecd0b6f36f5d4bd..c08bf44385130230ed6176be6b1dffde3800a485 100644 (file)
@@ -367,7 +367,7 @@ static int add_driver_button_exec (bContext *C, wmOperator *op)
        PropertyRNA *prop= NULL;
        char *path;
        short success= 0;
-       int index, length, all= RNA_boolean_get(op->ptr, "all");
+       int index, all= RNA_boolean_get(op->ptr, "all");
        
        /* try to create driver using property retrieved from UI */
        memset(&ptr, 0, sizeof(PointerRNA));