Squelch more const warnings (and fix some memory leaks that found).
[obnox/wireshark/wip.git] / tap-gsm_astat.c
index dd940f7d6e71653050b0f2f92402057594fbe51e..0390e4e53dddf1af469ed3c44a757b7d77a20102 100644 (file)
@@ -269,14 +269,11 @@ gsm_a_stat_draw(
 
 
 static void
-gsm_a_stat_init(char *optarg)
+gsm_a_stat_init(const char *optarg _U_)
 {
     gsm_a_stat_t       *stat_p;
     GString            *err_p;
 
-
-    optarg = optarg;
-
     stat_p = g_malloc(sizeof(gsm_a_stat_t));
 
     memset(stat_p, 0, sizeof(gsm_a_stat_t));