diff options
author | Bill Meier <wmeier@newsguy.com> | 2012-12-05 15:56:36 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2012-12-05 15:56:36 +0000 |
commit | 7cd0417af555a78b19c6909a40d1867e0fe9a063 (patch) | |
tree | cc09f739029479eee683f26228e098db307fd1aa /ui/gtk/hostlist_fc.c | |
parent | f8ba6b5a077fa89f1d1e55b5bed4bab0ea6b11cf (diff) |
Fix numerous instances of a variable/parameter name "shadowing" a library function name;
(At least some (gcc ?) compilers give a "shadow" warning for these).
svn path=/trunk/; revision=46402
Diffstat (limited to 'ui/gtk/hostlist_fc.c')
-rw-r--r-- | ui/gtk/hostlist_fc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/gtk/hostlist_fc.c b/ui/gtk/hostlist_fc.c index 2b0587c798..cc054792d5 100644 --- a/ui/gtk/hostlist_fc.c +++ b/ui/gtk/hostlist_fc.c @@ -59,12 +59,12 @@ fc_hostlist_packet(void *pit, packet_info *pinfo, epan_dissect_t *edt _U_, const static void -gtk_fc_hostlist_init(const char *optarg, void* userdata _U_) +gtk_fc_hostlist_init(const char *opt_arg, void* userdata _U_) { const char *filter=NULL; - if(!strncmp(optarg,"hosts,fc,",9)){ - filter=optarg+9; + if(!strncmp(opt_arg,"hosts,fc,",9)){ + filter=opt_arg+9; } else { filter=NULL; } |