diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-06-11 22:20:43 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-06-11 22:21:41 +0300 |
commit | 2bbe0c4ef43adb7437a9318fce3d41b36f07f013 (patch) | |
tree | 27882b66d30789bf1bcdbc79755b5596a39c2a58 | |
parent | 76c7c66b0264fbeab6bea6db1f003151ce14b09c (diff) |
Cleanup: fix compiler warnings.
-rw-r--r-- | source/blender/editors/transform/transform_conversions.c | 2 | ||||
-rw-r--r-- | source/blender/gpu/intern/gpu_framebuffer.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c index 6c608a0b5e4..2f95b9a6322 100644 --- a/source/blender/editors/transform/transform_conversions.c +++ b/source/blender/editors/transform/transform_conversions.c @@ -1255,7 +1255,7 @@ static void createTransArmatureVerts(TransInfo *t) bool mirror = ((arm->flag & ARM_MIRROR_EDIT) != 0); int total_mirrored = 0, i; int oldtot; - BoneInitData *bid; + BoneInitData *bid = NULL; tc->data_len = 0; for (ebo = edbo->first; ebo; ebo = ebo->next) { diff --git a/source/blender/gpu/intern/gpu_framebuffer.c b/source/blender/gpu/intern/gpu_framebuffer.c index 6e791f6ac07..889c365edca 100644 --- a/source/blender/gpu/intern/gpu_framebuffer.c +++ b/source/blender/gpu/intern/gpu_framebuffer.c @@ -175,7 +175,7 @@ void gpu_framebuffer_module_exit(void) BLI_thread_local_delete(g_currentfb); } -static uint gpu_framebuffer_current_get() +static uint gpu_framebuffer_current_get(void) { return GET_UINT_FROM_POINTER(BLI_thread_local_get(g_currentfb)); } |