summaryrefslogtreecommitdiff
path: root/winpipes.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-10-01 00:51:33 -0400
committerJeffrey Walton <noloader@gmail.com>2016-10-01 00:51:33 -0400
commit8d840ecd8e583da2fd54cb0af35bd6f549b28398 (patch)
treef79cbc514f4c74d27be30ea9a3a0628c04f56aa3 /winpipes.cpp
parentfd64929389eaa19201829593025ea5fe1671282b (diff)
downloadcryptopp-git-8d840ecd8e583da2fd54cb0af35bd6f549b28398.tar.gz
Clear Coverity "Missing break in switch (MISSING_BREAK)"
CID 147882, 147880, 147879, 147876
Diffstat (limited to 'winpipes.cpp')
-rw-r--r--winpipes.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/winpipes.cpp b/winpipes.cpp
index eb1d5711..3c25e84b 100644
--- a/winpipes.cpp
+++ b/winpipes.cpp
@@ -114,6 +114,7 @@ bool WindowsPipeReceiver::Receive(byte* buf, size_t bufLen)
{
default:
CheckAndHandleError("ReadFile", false);
+ // Fall through for non-fatal
case ERROR_BROKEN_PIPE:
case ERROR_HANDLE_EOF:
m_lastResult = 0;
@@ -154,6 +155,7 @@ unsigned int WindowsPipeReceiver::GetReceiveResult()
{
default:
CheckAndHandleError("GetOverlappedResult", false);
+ // Fall through for non-fatal
case ERROR_BROKEN_PIPE:
case ERROR_HANDLE_EOF:
m_lastResult = 0;