Get rid of -Wshadow warning - I guess we're including something that
[metze/wireshark/wip.git] / ui / cli / tap-sipstat.c
index 4c57f806fc918984c08468c4dd99c0968ea6a80e..2eaf370730cd57c4adee6c1ce5aa659fd9a2fe34 100644 (file)
@@ -386,14 +386,14 @@ sipstat_draw(void *psp  )
 }
 
 static void
-sipstat_init(const char *optarg, void* userdata _U_)
+sipstat_init(const char *opt_arg, void* userdata _U_)
 {
        sipstat_t *sp;
        const char *filter=NULL;
        GString *error_string;
 
-       if (strncmp (optarg, "sip,stat,", 9) == 0){
-               filter=optarg+9;
+       if (strncmp (opt_arg, "sip,stat,", 9) == 0){
+               filter=opt_arg+9;
        } else {
                filter=NULL;
        }