1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 15:22:09 +00:00

m_option: minor simplification

Relict of mplayer's C89 compatibility?
This commit is contained in:
wm4 2012-11-01 00:50:08 +01:00
parent bba1edfca5
commit 9643590889

View File

@ -746,13 +746,11 @@ static void free_str_list(void *dst)
static int str_list_add(char **add, int n, void *dst, int pre)
{
char **lst = VAL(dst);
int ln;
if (!dst)
return M_OPT_PARSER_ERR;
lst = VAL(dst);
char **lst = VAL(dst);
int ln;
for (ln = 0; lst && lst[ln]; ln++)
/**/;