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/sctp_chunk_stat.c | |
parent | 35b912bcbf7674f34e934c583ecfcea40c74bf64 (diff) |
Fix [-Wshadow] warnings.
svn path=/trunk/; revision=46426
Diffstat (limited to 'ui/gtk/sctp_chunk_stat.c')
-rw-r--r-- | ui/gtk/sctp_chunk_stat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/gtk/sctp_chunk_stat.c b/ui/gtk/sctp_chunk_stat.c index 780c9575ec..dac4874f4e 100644 --- a/ui/gtk/sctp_chunk_stat.c +++ b/ui/gtk/sctp_chunk_stat.c @@ -50,7 +50,7 @@ #include "ui/gtk/sctp_stat.h" -static void sctpstat_init(const char *optarg, void *userdata); +static void sctpstat_init(const char *opt_arg, void *userdata); static tap_param sctp_stat_params[] = { { PARAM_FILTER, "Filter", NULL } @@ -259,7 +259,7 @@ static const stat_column titles[]={ }; static void -sctpstat_init(const char *optarg, void *userdata _U_) +sctpstat_init(const char *opt_arg, void *userdata _U_) { sctpstat_t *hs; GString *error_string; @@ -267,8 +267,8 @@ sctpstat_init(const char *optarg, void *userdata _U_) GtkWidget *close_bt; hs=g_malloc(sizeof(sctpstat_t)); - if(strncmp(optarg,"sctp,stat,",10) == 0){ - hs->filter=g_strdup(optarg+10); + if(strncmp(opt_arg,"sctp,stat,",10) == 0){ + hs->filter=g_strdup(opt_arg+10); } else { hs->filter=NULL; } |