mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
mqtt: remove code with no purpose
Detected by Coverity. CID 1462319. "The same code is executed when the condition result is true or false, because the code in the if-then branch and after the if statement is identical." Closes #5275
This commit is contained in:
parent
96c149685b
commit
093a9e0014
@ -609,8 +609,6 @@ static CURLcode mqtt_doing(struct connectdata *conn, bool *done)
|
||||
case MQTT_PUBWAIT:
|
||||
case MQTT_PUB_REMAIN:
|
||||
result = mqtt_read_publish(conn, done);
|
||||
if(result)
|
||||
break;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user