Get rid of -Wshadow warning - I guess we're including something that
[metze/wireshark/wip.git] / ui / cli / tap-radiusstat.c
index 42f6e7f8fea03a4887f2196ca7d48d85399b3bed..c75cfc168e6400481de8a967ec128b086d8114a8 100644 (file)
@@ -185,15 +185,15 @@ radiusstat_draw(void *prs)
 
 
 static void
-radiusstat_init(const char *optarg, void* userdata _U_)
+radiusstat_init(const char *opt_arg, void* userdata _U_)
 {
        radiusstat_t *rs;
        int i;
        GString *error_string;
 
        rs=g_new(radiusstat_t,1);
-       if(!strncmp(optarg,"radius,rtd,",11)){
-               rs->filter=g_strdup(optarg+11);
+       if(!strncmp(opt_arg,"radius,rtd,",11)){
+               rs->filter=g_strdup(opt_arg+11);
        } else {
                rs->filter=NULL;
        }