From 5c1b8d4aa1d35c806159cb22d52449774eb5186e Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 12 Jul 2013 22:05:43 +0200 Subject: stream: don't require streams to set a type Set the type only for streams that have special treatment in other parts of the code. --- stream/stream_null.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'stream/stream_null.c') diff --git a/stream/stream_null.c b/stream/stream_null.c index c1965e6bd0..0d3efd9015 100644 --- a/stream/stream_null.c +++ b/stream/stream_null.c @@ -25,8 +25,6 @@ static int open_s(stream_t *stream,int mode, void* opts) { - stream->type = STREAMTYPE_DUMMY; - return 1; } -- cgit v1.2.3