[MPlayer-dev-eng] [PATCH] Unused variables in demux_mov.c

Uoti Urpala uoti.urpala at pp1.inet.fi
Sun Jun 3 11:05:29 CEST 2007


On Sun, 2007-06-03 at 10:57 +0200, Carl Eugen Hoyos wrote:
> Attached patch removes a few warnings about unused variables in
> libmpdemux/demux_mov.c that are seen when compiling with -Wall.

> -		      int tmp=stream_read_dword(demuxer->stream);
> -		      int type=stream_read_dword_le(demuxer->stream);
> +		      int av_unused tmp=stream_read_dword(demuxer->stream);
> +		      int av_unused type=stream_read_dword_le(demuxer->stream);

Why do these variables exist at all? Is it just their names being used
as comments?




More information about the MPlayer-dev-eng mailing list