Cleanup: warnings

This commit is contained in:
Campbell Barton 2019-10-12 09:45:20 +11:00
parent 4e3f186a8c
commit 5d7195ab8e
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ struct ThreadLocalBuffers {
}
};
thread_local ThreadLocalBuffers local_storage;
static thread_local ThreadLocalBuffers local_storage;
void *BLI_temporary_allocate(uint size)
{

View File

@ -1181,7 +1181,7 @@ static int select_timeline_marker_frame(ListBase *markers,
LISTBASE_CIRCULAR_FORWARD_BEGIN (markers, marker, marker_selected) {
/* this way a not-extend select will always give 1 selected marker */
if ((marker->frame == frame)) {
if (marker->frame == frame) {
marker->flag ^= SELECT;
break;
}