add G_GNUC_UNUSED macro to avoid needless warnings

This commit is contained in:
John Cupitt 2008-01-22 11:03:14 +00:00
parent 9a52c8cc73
commit e3c776036b
1 changed files with 2 additions and 2 deletions

View File

@ -246,8 +246,8 @@ static int gen_ ## SHIFT_MACRO ## _ ## FROM_T ## _to_ ## TO_T ## _with_ ## SUM_T
int *params = (int *) b; \
int xshift= params[0]; \
int yshift= params[1]; \
int preshift= params[2]; \
int postshift= params[3]; \
int G_GNUC_UNUSED preshift= params[2]; \
int G_GNUC_UNUSED postshift= params[3]; \
Rect need= { \
to_make-> valid. left << xshift, \
to_make-> valid. top << yshift, \