Fix warning: stream.c: stream_init(): Dead store: HI.

Problem     : Dead store @ 59.
Diagnostic  : Harmless issue.
Rationale   : loop is a function parameter that is not used anymore
              after this line.
Resolution  : Remove line.

Based on: http://neovim.io/doc/reports/clang/report-27475f.html#EndPath
This commit is contained in:
oni-link 2015-09-08 14:20:43 +02:00
parent dc9652e68d
commit 217b6bc123

View File

@ -56,7 +56,6 @@ void stream_init(Loop *loop, Stream *stream, int fd, uv_stream_t *uvstream,
if (stream->uvstream) { if (stream->uvstream) {
stream->uvstream->data = stream; stream->uvstream->data = stream;
loop = stream->uvstream->loop->data;
} }
stream->data = data; stream->data = data;