channel_write: fix compiler warning

This commit is contained in:
Justin M. Keyes
2017-05-31 03:37:29 +02:00
parent 033b1cb7d9
commit fcc9d99967

View File

@@ -532,7 +532,7 @@ static void on_request_event(void **argv)
static bool channel_write(Channel *channel, WBuffer *buffer)
{
bool success;
bool success = false;
if (channel->closed) {
wstream_release_wbuffer(buffer);