summaryrefslogtreecommitdiffstats
path: root/generic/tkStyle.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-15 09:06:43 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-15 09:06:43 (GMT)
commitbcfb5cf04dd1e5c610197f217a8e2a31109194cd (patch)
treec387a9f8850b1679076d38b4de803bc5964d755d /generic/tkStyle.c
parent2040c1c975933de7240f814c6bf9386c7a3b4adf (diff)
parent4ee5781a03c8e0291da78312759c0d170f25dd02 (diff)
downloadtk-bcfb5cf04dd1e5c610197f217a8e2a31109194cd.zip
tk-bcfb5cf04dd1e5c610197f217a8e2a31109194cd.tar.gz
tk-bcfb5cf04dd1e5c610197f217a8e2a31109194cd.tar.bz2
Merge 8.6
Diffstat (limited to 'generic/tkStyle.c')
-rw-r--r--generic/tkStyle.c13
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;
}
/*