Get rid of -Wshadow warning - I guess we're including something that
[metze/wireshark/wip.git] / ui / cli / tap-httpstat.c
index f5e6eb6e1b21a7992a7725d11a762f4dc0ea0c29..122b686811538757dd457c9c626cb6b9fdbf0daa 100644 (file)
@@ -278,14 +278,14 @@ httpstat_draw(void *psp  )
 /* When called, this function will create a new instance of gtk_httpstat.
  */
 static void
-gtk_httpstat_init(const char *optarg,void* userdata _U_)
+gtk_httpstat_init(const char *opt_arg,void* userdata _U_)
 {
        httpstat_t *sp;
        const char *filter=NULL;
        GString *error_string;
 
-       if (!strncmp (optarg, "http,stat,", 10)){
-               filter=optarg+10;
+       if (!strncmp (opt_arg, "http,stat,", 10)){
+               filter=opt_arg+10;
        } else {
                filter=NULL;
        }