summaryrefslogtreecommitdiff
path: root/src/TMaction.c
diff options
context:
space:
mode:
authorThomas Klausner <wiz@NetBSD.org>2013-06-25 23:02:46 +0200
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-09 23:20:13 -0700
commit3919044bd7d3bcb85ce3425a43b8889a248a7542 (patch)
tree7c988eee011ec632c9ebbf4fc7ae61033c42cce6 /src/TMaction.c
parentd395f487e659ee1091eb60c89c551ba1b61dfe51 (diff)
Avoid shadowing variables.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/TMaction.c')
-rw-r--r--src/TMaction.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/TMaction.c b/src/TMaction.c
index 7af75ad..e4a5864 100644
--- a/src/TMaction.c
+++ b/src/TMaction.c
@@ -1041,14 +1041,14 @@ void XtCallActionProc(
}
{
- String params[2];
- Cardinal num_params = 2;
- params[0] = (String)action;
- params[1] = XtName(widget);
+ String sparams[2];
+ Cardinal num_sparams = 2;
+ sparams[0] = (String)action;
+ sparams[1] = XtName(widget);
XtAppWarningMsg(app,
"noActionProc", "xtCallActionProc", XtCXtToolkitError,
"No action proc named \"%s\" is registered for widget \"%s\"",
- params, &num_params
+ sparams, &num_sparams
);
}
UNLOCK_APP(app);