Get rid of -Wshadow warning - I guess we're including something that
[metze/wireshark/wip.git] / ui / cli / tap-megacostat.c
index 546d2c65b8065f24046580716325413c36ff2620..325caa154bc6fa9d7e82e75930f44f4e1c392f4a 100644 (file)
@@ -72,7 +72,7 @@ megacostat_draw(void *pms)
 
 
 static void
-megacostat_init(const char *optarg, void* userdata _U_)
+megacostat_init(const char *opt_arg, void* userdata _U_)
 {
        megacostat_t *ms;
        int i;
@@ -94,8 +94,8 @@ megacostat_init(const char *optarg, void* userdata _U_)
        }
 
        ms=g_new(megacostat_t,1);
-       if(!strncmp(optarg,"megaco,rtd,",11)){
-               ms->filter=g_strdup(optarg+11);
+       if(!strncmp(opt_arg,"megaco,rtd,",11)){
+               ms->filter=g_strdup(opt_arg+11);
        } else {
                ms->filter=NULL;
        }