Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / screen / screen_ops.c
index 3c6c4058b84c32569ceceb3e938e642170a1ad1c..fcfee8dfb2c58c59531c118f32bdc6a88e54db93 100644 (file)
@@ -1875,7 +1875,6 @@ static int area_split_modal(bContext *C, wmOperator *op, const wmEvent *event)
        }
 
        if (update_factor) {
-               const int dir = RNA_property_enum_get(op->ptr, prop_dir);
                float fac = (float)(sd->delta + sd->origval - sd->origmin) / sd->origsize;
                RNA_float_set(op->ptr, "factor", fac);