[MPlayer-dev-eng] [PATCHES] 4 small patches for various code improvements

Alexander Roalter alex at roalter.it
Thu Nov 25 09:22:21 CET 2010


Am 24.11.2010 22:01, schrieb Clément Bœsch:
>   int
>   nop_streaming_seek( int fd, off_t pos, streaming_ctrl_t *stream_ctrl ) {
>   	return -1;
> -	// To shut up gcc warning
> -	fd++;
> -	pos++;
> -	stream_ctrl=NULL;
>   }


One can also shup up the warning by using a nameless declaration (only 
types):

int
nop_streaming_seek( int , off_t , streaming_ctrl_t * ) {
  	return -1;
  }
Just a thought

-- 
cheers,
Alex


More information about the MPlayer-dev-eng mailing list