Get rid of -Wshadow warning - I guess we're including something that
[metze/wireshark/wip.git] / ui / cli / tap-bootpstat.c
index 2bdb2f3cd58ee77a72df18a642c60656e15482f6..736381a5827655b072776417f448a3434a495379 100644 (file)
@@ -134,14 +134,14 @@ dhcpstat_draw(void *psp)
 /* When called, this function will create a new instance of tap-boopstat.
  */
 static void
-dhcpstat_init(const char *optarg, void* userdata _U_)
+dhcpstat_init(const char *opt_arg, void* userdata _U_)
 {
        dhcpstat_t *sp;
        const char      *filter=NULL;
        GString         *error_string;
 
-       if (!strncmp (optarg, "bootp,stat,", 11)){
-               filter=optarg+11;
+       if (!strncmp (opt_arg, "bootp,stat,", 11)){
+               filter=opt_arg+11;
        } else {
                filter=NULL;
        }