changeset 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
files stream/stream_ftp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_ftp.c	Mon Nov 26 23:36:00 2012 +0000
+++ b/stream/stream_ftp.c	Mon Nov 26 23:37:06 2012 +0000
@@ -417,7 +417,7 @@
 
 
 
-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;