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/conversations_usb.c | |
parent | f8ba6b5a077fa89f1d1e55b5bed4bab0ea6b11cf (diff) | |
download | wireshark-7cd0417af555a78b19c6909a40d1867e0fe9a063.tar.gz |
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/conversations_usb.c')
-rw-r--r-- | ui/gtk/conversations_usb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/gtk/conversations_usb.c b/ui/gtk/conversations_usb.c index 4d21ecee9f..8c320ba52a 100644 --- a/ui/gtk/conversations_usb.c +++ b/ui/gtk/conversations_usb.c @@ -48,12 +48,12 @@ usb_conversation_packet(void *pct, packet_info *pinfo, epan_dissect_t *edt _U_, static void -usb_conversation_init(const char *optarg, void* userdata _U_) +usb_conversation_init(const char *opt_arg, void* userdata _U_) { const char *filter=NULL; - if (!strncmp(optarg, "conv,usb,", 9)) { - filter = optarg + 9; + if (!strncmp(opt_arg, "conv,usb,", 9)) { + filter = opt_arg + 9; } else { filter = NULL; } |