Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-10-21 08:22:31 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-10-21 08:23:15 +0300
commit34f2ed7f719c1e72aa21b0b923121a2f9dce84c5 (patch)
treea13c8b8fe7fd29d5bf10259e1cbe5cd4ac76708f /source/blender/draw
parent8c9f8d6cbb3ad176d4731649b22e97344f407aa4 (diff)
Cleanup: compiler warnings
Diffstat (limited to 'source/blender/draw')
-rw-r--r--source/blender/draw/engines/gpencil/gpencil_cache_utils.c3
-rw-r--r--source/blender/draw/engines/gpencil/gpencil_draw_utils.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_cache_utils.c b/source/blender/draw/engines/gpencil/gpencil_cache_utils.c
index 9d8c4b6d0f8..b254e771cc5 100644
--- a/source/blender/draw/engines/gpencil/gpencil_cache_utils.c
+++ b/source/blender/draw/engines/gpencil/gpencil_cache_utils.c
@@ -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;
}
diff --git a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
index 6d15c8145e1..28802130df7 100644
--- a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
+++ b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
@@ -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;