diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-02-07 14:01:40 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-02-07 14:01:40 (GMT) |
commit | 1e218f90dab9db97b0f7b9c3013c78b871e11b36 (patch) | |
tree | 912ff82a558de9bcc791b4a258ecb3ae9813edf0 /win/tkWinPixmap.c | |
parent | 3b6539c93da9d08acd3779c6f96da23d646acb21 (diff) | |
download | tk-1e218f90dab9db97b0f7b9c3013c78b871e11b36.zip tk-1e218f90dab9db97b0f7b9c3013c78b871e11b36.tar.gz tk-1e218f90dab9db97b0f7b9c3013c78b871e11b36.tar.bz2 |
Use more TCL_UNUSED() macro's in stead of (void) casts
Diffstat (limited to 'win/tkWinPixmap.c')
-rw-r--r-- | win/tkWinPixmap.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/win/tkWinPixmap.c b/win/tkWinPixmap.c index 51ff88c..9bd336a 100644 --- a/win/tkWinPixmap.c +++ b/win/tkWinPixmap.c @@ -197,23 +197,17 @@ TkSetPixmapColormap( int XGetGeometry( - Display *display, + TCL_UNUSED(Display *), Drawable d, - Window *root_return, - int *x_return, - int *y_return, + TCL_UNUSED(Window *), + TCL_UNUSED(int *), + TCL_UNUSED(int *), unsigned int *width_return, unsigned int *height_return, - unsigned int *border_width_return, - unsigned int *depth_return) + TCL_UNUSED(unsigned int *), + TCL_UNUSED(unsigned int *)) { TkWinDrawable *twdPtr = (TkWinDrawable *)d; - (void)display; - (void)root_return; - (void)x_return; - (void)y_return; - (void)border_width_return; - (void)depth_return; if (twdPtr->type == TWD_BITMAP) { HDC dc; |