Fixed all gcc 4 warnings in blenkernel. Found 2 potentially harmful
[blender.git] / source / blender / blenkernel / intern / verse_node.c
index a73313e7a3403a587d5286a81f6910a7f2c3a860..961914bef5e8e513d88d9d0f52335cce5ee98ea5 100644 (file)
@@ -701,6 +701,7 @@ static void cb_node_create(
                                vnode->data = (void*)create_bitmap_data();
                        }
                default:
+                       vnode = NULL;
                        break;
        }