Cleanup: fix compiler warnings.

This commit is contained in:
Brecht Van Lommel 2018-06-11 21:20:43 +02:00
parent 76c7c66b02
commit 2bbe0c4ef4
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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));
}