diff options
author | Dr. Tilmann Bubeck <t.bubeck@reinform.de> | 2013-10-06 16:50:33 +0200 |
---|---|---|
committer | Dr. Tilmann Bubeck <t.bubeck@reinform.de> | 2013-10-06 16:50:33 +0200 |
commit | e53df261c9ca11435df0c8853350d913b557446b (patch) | |
tree | c18ab6a9535d336107c0abb1d647153fba99818e /process.c | |
parent | 92de3583c7aaaa2040728808add2186348859b98 (diff) | |
download | xorg-app-xauth-e53df261c9ca11435df0c8853350d913b557446b.tar.gz |
Fix warning raised by "-Wshadow".
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1323,23 +1323,23 @@ remove_entry(const char *inputfilename, int lineno, Xauth *auth, char *data) * help */ int -print_help(FILE *fp, const char *cmd, const char *prefix) +print_help(FILE *fp, const char *cmd, const char *line_prefix) { CommandTable *ct; int n = 0; - if (!prefix) prefix = ""; + if (!line_prefix) line_prefix = ""; if (!cmd) { /* if no cmd, print all help */ for (ct = command_table; ct->name; ct++) { - fprintf (fp, "%s%s\n", prefix, ct->helptext); + fprintf (fp, "%s%s\n", line_prefix, ct->helptext); n++; } } else { int len = strlen (cmd); for (ct = command_table; ct->name; ct++) { if (strncmp (cmd, ct->name, len) == 0) { - fprintf (fp, "%s%s\n", prefix, ct->helptext); + fprintf (fp, "%s%s\n", line_prefix, ct->helptext); n++; } } |