Commit d8076c36 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

dshow: Removing useless const_cast

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 11233c1b
......@@ -2024,8 +2024,8 @@ static int FindDevicesCallback( vlc_object_t *p_this, char const *psz_name,
/* Keep the 2 first entries */
for( i = 2; i < p_item->i_list; i++ )
{
free( const_cast<char *>(p_item->ppsz_list[i]) );
free( const_cast<char *>(p_item->ppsz_list_text[i]) );
free( p_item->ppsz_list[i] );
free( p_item->ppsz_list_text[i] );
}
/* TODO: Remove when no more needed */
p_item->ppsz_list[i] = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment