Mercurial > mplayer.hg
comparison stream/stream_ftp.c @ 35395:e740eaf25f32
stream ftp: open_f: Mark parameter file_format unused
We have nothing to say about it, so we do not set *file_format.
No need for compilers to emit a warning about it.
author | al |
---|---|
date | Mon, 26 Nov 2012 23:37:06 +0000 |
parents | 7bad316da87a |
children | 6f03d15719a3 |
comparison
equal
deleted
inserted
replaced
35394:7bad316da87a | 35395:e740eaf25f32 |
---|---|
415 m_struct_free(&stream_opts,p); | 415 m_struct_free(&stream_opts,p); |
416 } | 416 } |
417 | 417 |
418 | 418 |
419 | 419 |
420 static int open_f(stream_t *stream,int mode, void* opts, int* file_format) { | 420 static int open_f(stream_t *stream,int mode, void* opts, av_unused int* file_format) { |
421 int resp; | 421 int resp; |
422 int64_t len = 0; | 422 int64_t len = 0; |
423 struct stream_priv_s* p = (struct stream_priv_s*)opts; | 423 struct stream_priv_s* p = (struct stream_priv_s*)opts; |
424 char rsp_txt[256]; | 424 char rsp_txt[256]; |
425 | 425 |