mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 06:25:03 -05: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_PUBWAIT:
|
||||||
case MQTT_PUB_REMAIN:
|
case MQTT_PUB_REMAIN:
|
||||||
result = mqtt_read_publish(conn, done);
|
result = mqtt_read_publish(conn, done);
|
||||||
if(result)
|
|
||||||
break;
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user