From fa4c01e49d77ee20c27416194db5414d38b9e869 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sat, 31 Oct 2015 02:25:34 +0000 Subject: [PATCH] Add missing return statement to dcc module. It was harmless, but it makes Coverity happier. --- modules/dcc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/dcc.cpp b/modules/dcc.cpp index 071ffaf6..c1d9df76 100644 --- a/modules/dcc.cpp +++ b/modules/dcc.cpp @@ -293,6 +293,7 @@ void CDCCSock::ReadData(const char* data, size_t len) { DEBUG("File not open! closing get."); m_pModule->PutModule(((m_bSend) ? "DCC -> [" : "DCC <- [") + m_sRemoteNick + "][" + m_sFileName + "] - File not open!"); Close(); + return; } // DCC specs says the receiving end sends the number of bytes it