diff options
author | Ton Roosendaal <ton@blender.org> | 2006-01-28 23:17:48 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-01-28 23:17:48 +0300 |
commit | 240e25ab652492ad8e0a713b3907aa490b1a70b3 (patch) | |
tree | 583502a6fb9983056e0b213605cecc202dfee7e7 /source/blender/src/interface_icons.c | |
parent | 2fbef6f9c9224450f4de567466c5b573dc1ec062 (diff) |
Cleanup of blender/ module; Makefiles now compile this warning free.
Mostly was unused variables, unused functions, missing prototypes and
missing include files.
Diffstat (limited to 'source/blender/src/interface_icons.c')
-rw-r--r-- | source/blender/src/interface_icons.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/interface_icons.c b/source/blender/src/interface_icons.c index 35889e3c220..614ebcefbb8 100644 --- a/source/blender/src/interface_icons.c +++ b/source/blender/src/interface_icons.c @@ -419,7 +419,7 @@ static void vicon_move_down_draw(int x, int y, int w, int h, float alpha) /* this only works for the hardcoded buttons image, turning the grey AA pixels to alpha, and slight off-grey to half alpha */ - +#if 0 static void clear_transp_rect_soft(unsigned char *transp, unsigned char *rect, int w, int h, int rowstride) { int x, y, val; @@ -453,6 +453,7 @@ static void clear_transp_rect_soft(unsigned char *transp, unsigned char *rect, i } } } +#endif static void clear_transp_rect(unsigned char *transp, unsigned char *rect, int w, int h, int rowstride) { @@ -470,7 +471,6 @@ static void clear_transp_rect(unsigned char *transp, unsigned char *rect, int w, static void prepare_internal_icons(ImBuf* bbuf) { - int x, y; int rowstride= bbuf->x*4; char *back= (char *)bbuf->rect; unsigned char transp[4]; |