diff options
Diffstat (limited to 'ui/cli/tap-rtspstat.c')
-rw-r--r-- | ui/cli/tap-rtspstat.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ui/cli/tap-rtspstat.c b/ui/cli/tap-rtspstat.c index 20d15e4640..163fe1271c 100644 --- a/ui/cli/tap-rtspstat.c +++ b/ui/cli/tap-rtspstat.c @@ -245,11 +245,7 @@ rtspstat_init(const char *opt_arg, void *userdata _U_) } sp = (rtspstat_t *)g_malloc( sizeof(rtspstat_t) ); - if (filter) { - sp->filter = g_strdup(filter); - } else { - sp->filter = NULL; - } + sp->filter = g_strdup(filter); /*g_hash_table_foreach( rtsp_status, (GHFunc)rtsp_reset_hash_responses, NULL);*/ |