conmon: Silence uninitialized read compiler warning

This is not actually read uninitialized, its just that the compiler
can't detect this, but we initilize it anyway to silence the compiler.

Signed-off-by: Alexander Larsson <alexl@redhat.com>
This commit is contained in:
Alexander Larsson 2017-06-02 15:23:11 +02:00 committed by Antonio Murdaca
parent 20107228db
commit aad8632153
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9

View file

@ -813,7 +813,7 @@ int main(int argc, char *argv[])
for (int i = 0; i < ready; i++) {
if (evlist[i].events & EPOLLIN) {
int masterfd = evlist[i].data.fd;
stdpipe_t pipe;
stdpipe_t pipe = NO_PIPE;
if (masterfd == masterfd_stdout)
pipe = STDOUT_PIPE;
else if (masterfd == masterfd_stderr)