summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
Diffstat (limited to 'stream')
-rw-r--r--stream/pnm.c2
-rw-r--r--stream/stream_smb.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/stream/pnm.c b/stream/pnm.c
index 40da142b33..14ffa5d1c1 100644
--- a/stream/pnm.c
+++ b/stream/pnm.c
@@ -503,7 +503,7 @@ static int pnm_get_headers(pnm_t *p, int *need_response) {
uint8_t *ptr=p->header;
uint8_t *prop_hdr=NULL;
int chunk_size,size=0;
- int nr;
+ int nr = 0;
/* rmff_header_t *h; */
*need_response=0;
diff --git a/stream/stream_smb.c b/stream/stream_smb.c
index 684940749f..14791a2995 100644
--- a/stream/stream_smb.c
+++ b/stream/stream_smb.c
@@ -109,7 +109,6 @@ static void close_f(stream_t *s){
}
static int open_f (stream_t *stream, int mode, void *opts, int* file_format) {
- struct stream_priv_s *p = (struct stream_priv_s*)opts;
char *filename;
mode_t m = 0;
off_t len;