Mercurial > mplayer.hg
changeset 31453:91b713df588f
Surround conditionally used orig_lines variable declaration by #ifdefs.
This avoids an unused variable warning when fribidi is not available.
author | diego |
---|---|
date | Mon, 21 Jun 2010 14:46:09 +0000 |
parents | 435530ed1a33 |
children | 171320c96f2c |
files | subreader.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/subreader.c Mon Jun 21 14:43:08 2010 +0000 +++ b/subreader.c Mon Jun 21 14:46:09 2010 +0000 @@ -2302,7 +2302,9 @@ int double_newline = 1; // ignore newlines at the beginning int i, pos; char *buf; +#ifdef CONFIG_FRIBIDI int orig_lines = sub->lines; +#endif if (sub->lines >= SUB_MAX_TEXT) return; pos = 0; buf = malloc(MAX_SUBLINE + 1);