Cleanup: compiler warnings

This commit is contained in:
Campbell Barton
2018-10-21 16:22:31 +11:00
parent 8c9f8d6cbb
commit 34f2ed7f71
2 changed files with 3 additions and 2 deletions

View File

@@ -23,6 +23,7 @@
* \ingroup draw
*/
#include "DRW_engine.h"
#include "DRW_render.h"
#include "BKE_global.h"
@@ -346,7 +347,7 @@ void DRW_gpencil_batch_cache_dirty_tag(bGPdata *gpd)
}
/* free batch cache */
void DRW_gpencil_batch_cache_free(bGPdata *gpd)
void DRW_gpencil_batch_cache_free(bGPdata *UNUSED(gpd))
{
return;
}

View File

@@ -1218,7 +1218,7 @@ void DRW_gpencil_populate_multiedit(
cache->is_dirty = false;
}
void static gpencil_copy_frame(bGPDframe *gpf, bGPDframe *derived_gpf)
static void gpencil_copy_frame(bGPDframe *gpf, bGPDframe *derived_gpf)
{
derived_gpf->prev = gpf->prev;
derived_gpf->next = gpf->next;