summaryrefslogtreecommitdiff
path: root/ui/gtk/sctp_chunk_stat.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2012-12-06 20:59:53 +0000
committerBill Meier <wmeier@newsguy.com>2012-12-06 20:59:53 +0000
commitae68f42297198ee651f9b8ebe4aa822beb3fb725 (patch)
tree1a31265094a378bb7d7d8c0de9949e2f729afd8d /ui/gtk/sctp_chunk_stat.c
parent35b912bcbf7674f34e934c583ecfcea40c74bf64 (diff)
downloadwireshark-ae68f42297198ee651f9b8ebe4aa822beb3fb725.tar.gz
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.c8
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;
}