[PATCH 3/4] Remove GCC warning hack not needed anymore

Clément Bœsch ubitux at gmail.com
Thu Nov 4 01:21:10 CET 2010


---
 stream/network.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/stream/network.c b/stream/network.c
index 339d84c..6f034e9 100644
--- a/stream/network.c
+++ b/stream/network.c
@@ -466,10 +466,6 @@ nop_streaming_read( int fd, char *buffer, int size, streaming_ctrl_t *stream_ctr
 int
 nop_streaming_seek( int fd, off_t pos, streaming_ctrl_t *stream_ctrl ) {
 	return -1;
-	// To shut up gcc warning
-	fd++;
-	pos++;
-	stream_ctrl=NULL;
 }
 
 
-- 
1.7.3.2


--61jdw2sOBCFtR2d/
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment; filename="0004-Replace-malloc-memset-by-calloc.patch"



More information about the MPlayer-dev-eng mailing list