diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-08-14 01:18:58 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-08-14 01:18:58 +0000 |
commit | ab3aeb63e4ffd9ee84ea0f387c1d64838f38ef44 (patch) | |
tree | 59ac62874622df5a12c4a33f62d4322a825dbda7 /ui/cli/tap-rlcltestat.c | |
parent | 9e47411488cf2101b79dfe1bb715e7c1eafcfa83 (diff) | |
download | wireshark-ab3aeb63e4ffd9ee84ea0f387c1d64838f38ef44.tar.gz |
Get rid of -Wshadow warning - I guess we're including something that
gets <getopt.h>, so we get the optarg global.
svn path=/trunk/; revision=51350
Diffstat (limited to 'ui/cli/tap-rlcltestat.c')
-rw-r--r-- | ui/cli/tap-rlcltestat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/cli/tap-rlcltestat.c b/ui/cli/tap-rlcltestat.c index 3aa87bcb20..d78d062efc 100644 --- a/ui/cli/tap-rlcltestat.c +++ b/ui/cli/tap-rlcltestat.c @@ -362,16 +362,16 @@ rlc_lte_stat_draw(void *phs) /* Create a new RLC LTE stats struct */ -static void rlc_lte_stat_init(const char *optarg, void *userdata _U_) +static void rlc_lte_stat_init(const char *opt_arg, void *userdata _U_) { rlc_lte_stat_t *hs; const char *filter = NULL; GString *error_string; /* Check for a filter string */ - if (strncmp(optarg, "rlc-lte,stat,", 13) == 0) { + if (strncmp(opt_arg, "rlc-lte,stat,", 13) == 0) { /* Skip those characters from filter to display */ - filter = optarg + 13; + filter = opt_arg + 13; } else { /* No filter */ |