[MPlayer-cvslog] r34791 - trunk/stream/cache2.c

reimar subversion at mplayerhq.hu
Sun Mar 4 15:37:31 CET 2012


Author: reimar
Date: Sun Mar  4 15:37:31 2012
New Revision: 34791

Log:
Remove variable that is only assigned but never used.

Modified:
   trunk/stream/cache2.c

Modified: trunk/stream/cache2.c
==============================================================================
--- trunk/stream/cache2.c	Sun Mar  4 00:34:29 2012	(r34790)
+++ trunk/stream/cache2.c	Sun Mar  4 15:37:31 2012	(r34791)
@@ -99,8 +99,6 @@ typedef struct {
   volatile double stream_time_pos;
 } cache_vars_t;
 
-static int min_fill=0;
-
 static void cache_wakeup(stream_t *s)
 {
 #if FORKED_CACHE
@@ -145,7 +143,6 @@ static int cache_read(cache_vars_t *s, u
     sleep_count = 0;
 
     newb=s->max_filepos-s->read_filepos; // new bytes in the buffer
-    if(newb<min_fill) min_fill=newb; // statistics...
 
 //    printf("*** newb: %d bytes ***\n",newb);
 


More information about the MPlayer-cvslog mailing list