summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXEmbed.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-05 22:15:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-05 22:15:07 (GMT)
commitd02acd85db6c30b28e7c2e98e46955076d44c406 (patch)
tree06dd9ca6a4bde441b4ab228b484436dd97ecb3b1 /macosx/tkMacOSXEmbed.c
parent3cc748dc86a2c3c813e2c7d9409a58e9a239d9c8 (diff)
downloadtk-d02acd85db6c30b28e7c2e98e46955076d44c406.zip
tk-d02acd85db6c30b28e7c2e98e46955076d44c406.tar.gz
tk-d02acd85db6c30b28e7c2e98e46955076d44c406.tar.bz2
Eliminate many -Wextra warnings
Diffstat (limited to 'macosx/tkMacOSXEmbed.c')
-rw-r--r--macosx/tkMacOSXEmbed.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/macosx/tkMacOSXEmbed.c b/macosx/tkMacOSXEmbed.c
index ccd107a..b69fb48 100644
--- a/macosx/tkMacOSXEmbed.c
+++ b/macosx/tkMacOSXEmbed.c
@@ -121,6 +121,7 @@ TkpMakeWindow(
Window parent)
{
MacDrawable *macWin;
+ (void)parent;
/*
* If this window is marked as embedded then the window structure should
@@ -559,7 +560,7 @@ TkpClaimFocus(
int
TkpTestembedCmd(
- ClientData clientData, /* Main window for application. */
+ ClientData dummy, /* Main window for application. */
Tcl_Interp *interp, /* Current interpreter. */
int objc, /* Number of arguments. */
Tcl_Obj *const objv[]) /* Argument strings. */
@@ -569,6 +570,7 @@ TkpTestembedCmd(
Tcl_DString dString;
char buffer[50];
Tcl_Interp *embeddedInterp = NULL, *parentInterp = NULL;
+ (void)dummy;
if ((objc > 1) && (strcmp(Tcl_GetString(objv[1]), "all") == 0)) {
all = 1;
@@ -667,6 +669,9 @@ TkpRedirectKeyEvent(
XEvent *eventPtr) /* X event to redirect (should be KeyPress or
* KeyRelease). */
{
+ (void)winPtr;
+ (void)eventPtr;
+
/* TODO: Implement this or decide it definitely needs no implementation */
}
@@ -1084,6 +1089,7 @@ static void
EmbedSendConfigure(
Container *containerPtr) /* Information about the embedding. */
{
+ (void)containerPtr;
}
/*
@@ -1191,12 +1197,14 @@ void
TkpShowBusyWindow(
TkBusy busy)
{
+ (void)busy;
}
void
TkpHideBusyWindow(
TkBusy busy)
{
+ (void)busy;
}
void
@@ -1204,6 +1212,8 @@ TkpMakeTransparentWindowExist(
Tk_Window tkwin, /* Token for window. */
Window parent) /* Parent window. */
{
+ (void)tkwin;
+ (void)parent;
}
void
@@ -1214,6 +1224,11 @@ TkpCreateBusy(
Tk_Window tkParent,
TkBusy busy)
{
+ (void)winPtr;
+ (void)tkRef;
+ (void)parentPtr;
+ (void)tkParent;
+ (void)busy;
}
/*