summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTang Peng <[email protected]>2021-03-11 10:24:28 +0800
committerGiuseppe D'Angelo <[email protected]>2021-03-11 16:11:00 +0000
commitb5615d3921812c707753b2b1009d7b50c0e73003 (patch)
tree1556af680053ef1fbd83add5786f1a22a7081558
parent39157bcb0abe7ad9b5066d07a3ec67e9bdec8da0 (diff)
Remove unreachable code
Having a `break` after a `return` is pointless as it's never reached. Change-Id: I30877e926c006fac45681f547e97a55410f02e43 Reviewed-by: Giuseppe D'Angelo <[email protected]> Reviewed-by: Edward Welbourne <[email protected]>
-rw-r--r--src/network/socket/qnativesocketengine_win.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/network/socket/qnativesocketengine_win.cpp b/src/network/socket/qnativesocketengine_win.cpp
index 9fcf5fbf168..ac4e725af04 100644
--- a/src/network/socket/qnativesocketengine_win.cpp
+++ b/src/network/socket/qnativesocketengine_win.cpp
@@ -508,7 +508,6 @@ bool QNativeSocketEnginePrivate::setOption(QNativeSocketEngine::SocketOption opt
return false;
}
return true;
- break;
}
case QNativeSocketEngine::TypeOfServiceOption:
case QNativeSocketEngine::MaxStreamsSocketOption: