Get rid of -Wshadow warning - I guess we're including something that
[metze/wireshark/wip.git] / ui / cli / tap-h225counter.c
index fe1a8141fcfa00ac7d88b275384c02f4cdc807cc..e84d9df4f170122215d46da1e4b9c433c0877175 100644 (file)
@@ -343,14 +343,14 @@ h225counter_draw(void *phs)
 
 
 static void
-h225counter_init(const char *optarg, void* userdata _U_)
+h225counter_init(const char *opt_arg, void* userdata _U_)
 {
        h225counter_t *hs;
        GString *error_string;
 
        hs = g_new(h225counter_t,1);
-       if(!strncmp(optarg,"h225,counter,",13)){
-               hs->filter=g_strdup(optarg+13);
+       if(!strncmp(opt_arg,"h225,counter,",13)){
+               hs->filter=g_strdup(opt_arg+13);
        } else {
                hs->filter=NULL;
        }