fix for unlikely but possible use of uninitialized pointers.
[blender.git] / source / blender / blenkernel / intern / key.c
index d776b05dce514e92a3a23b7351ae56fa593c2357..be3ea38844aac7abaae13ca670abf57052e37a1f 100644 (file)
@@ -721,7 +721,7 @@ void do_rel_key(const int start, int end, const int tot, char *basispoin, Key *k
        KeyBlock *kb;
        int *ofsp, ofs[3], elemsize, b;
        char *cp, *poin, *reffrom, *from, elemstr[8];
-       char *freefrom, *freereffrom;
+       char *freefrom = NULL, *freereffrom = NULL;
        int poinsize;
 
        /* currently always 0, in future key_pointer_size may assign */