[MPlayer-dev-eng] [PATCH 2/4] stream ftp: open_f: Mark parameter file_format unused
Alexander Strasser
eclipse7 at gmx.net
Thu Nov 22 22:23:31 CET 2012
We have nothing to say about it, so we do not set *file_format.
No need for compilers to emit a warning about it.
Signed-off-by: Alexander Strasser <eclipse7 at gmx.net>
---
stream/stream_ftp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stream/stream_ftp.c b/stream/stream_ftp.c
index 372051a..3736ecd 100644
--- a/stream/stream_ftp.c
+++ b/stream/stream_ftp.c
@@ -417,7 +417,7 @@ static void close_f(stream_t *s) {
-static int open_f(stream_t *stream,int mode, void* opts, int* file_format) {
+static int open_f(stream_t *stream,int mode, void* opts, av_unused int* file_format) {
int resp;
int64_t len = 0;
struct stream_priv_s* p = (struct stream_priv_s*)opts;
--
1.7.10.2.552.gaa3bb87
More information about the MPlayer-dev-eng
mailing list