diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-15 09:06:43 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-15 09:06:43 (GMT) |
commit | bcfb5cf04dd1e5c610197f217a8e2a31109194cd (patch) | |
tree | c387a9f8850b1679076d38b4de803bc5964d755d /generic/tkStyle.c | |
parent | 2040c1c975933de7240f814c6bf9386c7a3b4adf (diff) | |
parent | 4ee5781a03c8e0291da78312759c0d170f25dd02 (diff) | |
download | tk-bcfb5cf04dd1e5c610197f217a8e2a31109194cd.zip tk-bcfb5cf04dd1e5c610197f217a8e2a31109194cd.tar.gz tk-bcfb5cf04dd1e5c610197f217a8e2a31109194cd.tar.bz2 |
Merge 8.6
Diffstat (limited to 'generic/tkStyle.c')
-rw-r--r-- | generic/tkStyle.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/generic/tkStyle.c b/generic/tkStyle.c index 9ec08ca..e845ad8 100644 --- a/generic/tkStyle.c +++ b/generic/tkStyle.c @@ -178,11 +178,10 @@ static const Tcl_ObjType styleObjType = { void TkStylePkgInit( - TkMainInfo *mainPtr) /* The application being created. */ + TCL_UNUSED(TkMainInfo *)) /* The application being created. */ { ThreadSpecificData *tsdPtr = (ThreadSpecificData *) Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData)); - (void)mainPtr; if (tsdPtr->nbInit != 0) { return; @@ -234,7 +233,7 @@ TkStylePkgInit( void TkStylePkgFree( - TkMainInfo *mainPtr) /* The application being deleted. */ + TCL_UNUSED(TkMainInfo *)) /* The application being deleted. */ { ThreadSpecificData *tsdPtr = (ThreadSpecificData *) Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData)); @@ -242,7 +241,6 @@ TkStylePkgFree( Tcl_HashEntry *entryPtr; StyleEngine *enginePtr; int i; - (void)mainPtr; tsdPtr->nbInit--; if (tsdPtr->nbInit != 0) { @@ -523,10 +521,8 @@ InitElement( static void FreeElement( - Element *elementPtr) /* The element to free. */ + TCL_UNUSED(Element *)) /* The element to free. */ { - (void)elementPtr; - /* Nothing to do. */ } @@ -1380,9 +1376,8 @@ Tk_GetStyle( void Tk_FreeStyle( - Tk_Style style) + TCL_UNUSED(Tk_Style)) { - (void)style; } /* |