- use %u rather tham %d for unsigned ints in string formatting funcs.
[blender.git] / source / blender / editors / object / object_modifier.c
index 2ac9161ffa3e73e0bc29f24fd70a2a2bb5d3ea9c..c96d7c1fd10a57a5da9fbea15fecf9174903836a 100644 (file)
@@ -1280,7 +1280,7 @@ static int meshdeform_bind_exec(bContext *C, wmOperator *op)
                return OPERATOR_CANCELLED;
 
        if(mmd->bindcagecos) {
-               if(mmd->bindcagecos) MEM_freeN(mmd->bindcagecos);
+               MEM_freeN(mmd->bindcagecos);
                if(mmd->dyngrid) MEM_freeN(mmd->dyngrid);
                if(mmd->dyninfluences) MEM_freeN(mmd->dyninfluences);
                if(mmd->bindinfluences) MEM_freeN(mmd->bindinfluences);