diff options
author | Bill Meier <wmeier@newsguy.com> | 2012-12-06 20:59:53 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2012-12-06 20:59:53 +0000 |
commit | ae68f42297198ee651f9b8ebe4aa822beb3fb725 (patch) | |
tree | 1a31265094a378bb7d7d8c0de9949e2f729afd8d /ui/gtk/wsp_stat.c | |
parent | 35b912bcbf7674f34e934c583ecfcea40c74bf64 (diff) |
Fix [-Wshadow] warnings.
svn path=/trunk/; revision=46426
Diffstat (limited to 'ui/gtk/wsp_stat.c')
-rw-r--r-- | ui/gtk/wsp_stat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/gtk/wsp_stat.c b/ui/gtk/wsp_stat.c index f7bd10b902..0329ad12c2 100644 --- a/ui/gtk/wsp_stat.c +++ b/ui/gtk/wsp_stat.c @@ -285,7 +285,7 @@ wsp_init_table(wspstat_t *sp) /* When called, this function will create a new instance of gtk2-wspstat. */ static void -gtk_wspstat_init(const char *optarg, void *userdata _U_) +gtk_wspstat_init(const char *opt_arg, void *userdata _U_) { wspstat_t *sp; const char *filter; @@ -298,8 +298,8 @@ gtk_wspstat_init(const char *optarg, void *userdata _U_) wsp_status_code_t *sc; const value_string *wsp_vals_status_p; - if (strncmp(optarg, "wsp,stat,", 9) == 0) { - filter = optarg+9; + if (strncmp(opt_arg, "wsp,stat,", 9) == 0) { + filter = opt_arg+9; } else { filter = NULL; } |