summaryrefslogtreecommitdiff
path: root/xkbcomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'xkbcomp.c')
-rw-r--r--xkbcomp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xkbcomp.c b/xkbcomp.c
index 6d43533..b39ac79 100644
--- a/xkbcomp.c
+++ b/xkbcomp.c
@@ -465,8 +465,7 @@ parseArgs(int argc, char *argv[])
}
else
{
- char *tmp2;
- for (tmp2 = argv[i]; (*tmp2 != '\0'); tmp2++)
+ for (char *tmp2 = argv[i]; (*tmp2 != '\0'); tmp2++)
{
switch (*tmp2)
{