Get rid of -Wshadow warning - I guess we're including something that
[metze/wireshark/wip.git] / ui / cli / tap-smbstat.c
index a1c6a9b761bb824b86c6c0f74d7bc75645eff22a..69fccaccbd0efcb9f4f8376ef62ea5de1ff8ea36 100644 (file)
@@ -180,15 +180,15 @@ smbstat_draw(void *pss)
 
 
 static void
-smbstat_init(const char *optarg,void* userdata _U_)
+smbstat_init(const char *opt_arg,void* userdata _U_)
 {
        smbstat_t *ss;
        guint32 i;
        const char *filter=NULL;
        GString *error_string;
 
-       if(!strncmp(optarg,"smb,srt,",8)){
-               filter=optarg+8;
+       if(!strncmp(opt_arg,"smb,srt,",8)){
+               filter=opt_arg+8;
        } else {
                filter=NULL;
        }