changeset 15954:341bfd887e36

small warning fix: function doesn't return anything and the return value is never checked or used
author rathann
date Sun, 10 Jul 2005 14:09:45 +0000
parents 507ed764f0ef
children 2d2f60c3f2bc
files libmpdemux/network.c libmpdemux/stream.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- 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_pos<s->buf_len)?s->buffer[s->buf_pos++]: