Get rid of -Wshadow warning - I guess we're including something that
[metze/wireshark/wip.git] / ui / cli / tap-sctpchunkstat.c
index 1b0f26c13457981cb31bd7660a4aea3536e120cd..9f69774177afdaac274bac2aae0e6a29497321cf 100644 (file)
@@ -211,14 +211,14 @@ sctpstat_draw(void *phs)
 
 
 static void
-sctpstat_init(const char *optarg, void* userdata _U_)
+sctpstat_init(const char *opt_arg, void* userdata _U_)
 {
        sctpstat_t *hs;
        GString *error_string;
 
        hs = (sctpstat_t *)g_malloc(sizeof(sctpstat_t));
-       if(!strncmp(optarg,"sctp,stat,",11)){
-               hs->filter=g_strdup(optarg+11);
+       if(!strncmp(opt_arg,"sctp,stat,",11)){
+               hs->filter=g_strdup(opt_arg+11);
        } else {
                hs->filter=NULL;
        }