Fix a few compiler warnings on OS X / clang.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 4 Jul 2016 15:30:05 +0000 (17:30 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 4 Jul 2016 16:22:10 +0000 (18:22 +0200)
commit1ba90582f532081dc4b980e79e732e268e2ca96a
tree7761d112257cf33cf3255ba559a41f771120026d
parent439fe6568fc5494ef18394612da3eb069bb82483
Fix a few compiler warnings on OS X / clang.

Two were actual bugs, though they existed only in unused code:
* In Freestyle it was unintentionally copying a scene rather than referencing it.
* In BLI_array_store_is_valid there was use of uninitialized memory.
source/blender/blenkernel/intern/colortools.c
source/blender/blenkernel/intern/constraint.c
source/blender/blenkernel/intern/dynamicpaint.c
source/blender/blenlib/intern/array_store.c
source/blender/editors/curve/editfont_undo.c
source/blender/editors/mesh/editmesh_undo.c
source/blender/freestyle/intern/scene_graph/NodeSceneRenderLayer.h
source/blender/gpu/intern/gpu_material.c