1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04: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:
Daniel Stenberg 2020-04-20 17:06:55 +02:00
parent 96c149685b
commit 093a9e0014
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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: