Two in one:
[blender.git] / source / blender / src / editconstraint.c
index ba0b43c16a8c05e1adea00c591392b9789d75954..bb921906d55bfe28541746a5ad9fb34eb5a34eb5 100644 (file)
@@ -831,7 +831,7 @@ void rename_constraint(Object *ob, bConstraint *con, char *oldname)
        bConstraintChannel *conchan;
        ListBase *conlist= NULL;
        int from_object= 0;
-       char *channame;
+       char *channame="";
        
        /* get context by searching for con (primitive...) */
        for(tcon= ob->constraints.first; tcon; tcon= tcon->next)