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_usb.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_usb.c')
-rw-r--r-- | ui/gtk/hostlist_usb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/gtk/hostlist_usb.c b/ui/gtk/hostlist_usb.c index 2c7c6391a6..427028f7d6 100644 --- a/ui/gtk/hostlist_usb.c +++ b/ui/gtk/hostlist_usb.c @@ -53,12 +53,12 @@ usb_hostlist_packet(void *pit, packet_info *pinfo, epan_dissect_t *edt _U_, cons } static void -gtk_usb_hostlist_init(const char *optarg, void* userdata _U_) +gtk_usb_hostlist_init(const char *opt_arg, void* userdata _U_) { const char *filter=NULL; - if (!strncmp(optarg, "hosts,usb," ,10)) { - filter = optarg + 10; + if (!strncmp(opt_arg, "hosts,usb," ,10)) { + filter = opt_arg + 10; } else { filter = NULL; } |