From 22ba3022ae19f7b52badec6dd4f908f1d171ae65 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Thu, 21 Jul 2022 18:05:09 -0700 Subject: [PATCH] tclpkg tclGdSizeCmd: squash an -Wunused-parameter warning This parameter cannot easily be removed because this function is used as a callback and needs to conform to a particular type signature. --- tclpkg/gdtclft/gdtclft.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tclpkg/gdtclft/gdtclft.c b/tclpkg/gdtclft/gdtclft.c index b45fb42f8..1e8f01412 100644 --- a/tclpkg/gdtclft/gdtclft.c +++ b/tclpkg/gdtclft/gdtclft.c @@ -1191,6 +1191,8 @@ tclGdGetCmd(Tcl_Interp * interp, int argc, Tcl_Obj * CONST objv[]) static int tclGdSizeCmd(Tcl_Interp * interp, int argc, Tcl_Obj * CONST objv[]) { + (void)argc; + gdImagePtr im; Tcl_Obj *answers[2]; -- 2.40.0