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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2017-02-25 17:23:27 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2017-02-26 02:16:21 +0300
commite9011100f75c22b3a9c9021fd49fb007efa03ed0 (patch)
tree88d482900f643136f8e29f79982ba78541cbf6b0 /source/blender/editors/interface/interface_icons.c
parent3cf2821f2f09d3c55dd88c2b6fb3b26e1ff69a7e (diff)
Fix compiler warnings on macOS / clang / c++11.
Diffstat (limited to 'source/blender/editors/interface/interface_icons.c')
-rw-r--r--source/blender/editors/interface/interface_icons.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_icons.c b/source/blender/editors/interface/interface_icons.c
index ef394899ac4..1c1e6cd3576 100644
--- a/source/blender/editors/interface/interface_icons.c
+++ b/source/blender/editors/interface/interface_icons.c
@@ -961,7 +961,7 @@ PreviewImage *UI_icon_to_preview(int icon_id)
}
static void icon_draw_rect(float x, float y, int w, int h, float UNUSED(aspect), int rw, int rh,
- unsigned int *rect, float alpha, const float rgb[3], const bool is_preview)
+ unsigned int *rect, float alpha, const float rgb[3], const bool UNUSED(is_preview))
{
ImBuf *ima = NULL;
int draw_w = w;