# HG changeset patch # User rathann # Date 1121004585 0 # Node ID 341bfd887e36aa2f343cc6906467c02ab796aaa5 # Parent 507ed764f0efcffe960e5ed5d854be74a93e89fa small warning fix: function doesn't return anything and the return value is never checked or used diff -r 507ed764f0ef -r 341bfd887e36 libmpdemux/network.c --- a/libmpdemux/network.c Sun Jul 10 14:05:29 2005 +0000 +++ b/libmpdemux/network.c Sun Jul 10 14:09:45 2005 +0000 @@ -627,7 +627,7 @@ } -int fixup_network_stream_cache(stream_t *stream) { +void fixup_network_stream_cache(stream_t *stream) { if(stream->streaming_ctrl->buffering) { if(stream_cache_size<0) { // cache option not set, will use our computed value. diff -r 507ed764f0ef -r 341bfd887e36 libmpdemux/stream.h --- a/libmpdemux/stream.h Sun Jul 10 14:05:29 2005 +0000 +++ b/libmpdemux/stream.h Sun Jul 10 14:09:45 2005 +0000 @@ -111,7 +111,7 @@ #define cache_stream_seek_long(x,y) stream_seek_long(x,y) #define stream_enable_cache(x,y,z,w) 1 #endif -int fixup_network_stream_cache(stream_t *stream); +void fixup_network_stream_cache(stream_t *stream); inline static int stream_read_char(stream_t *s){ return (s->buf_posbuf_len)?s->buffer[s->buf_pos++]: