Mercurial > hg > dmlib
changeset 758:cf7612c8de1f
Silence some warnings.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 09 May 2013 06:07:35 +0300 |
parents | 2b9dd22f01e9 |
children | d7bd9c11229e |
files | dmdrawline.h |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/dmdrawline.h Sun May 05 01:28:51 2013 +0300 +++ b/dmdrawline.h Thu May 09 06:07:35 2013 +0300 @@ -16,6 +16,8 @@ { int dx, dy, xstep, ystep; const int qpitch = screen->pitch / DM_DRAWLINE_DST_BYTES; + (void) qpitch; + (void) col; // Clipping if (dmClipLineCoordsFloat(screen, &fx0, &fy0, &fx1, &fy1) < 0) @@ -56,6 +58,7 @@ #endif DM_DRAWLINE_DST_TYPE *pix = (DM_DRAWLINE_DST_TYPE *) screen->pixels; + (void) pix; // Continue based on which delta is larger if (dx > dy)