Skip to content

Commit

Permalink
Silence warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
cpq committed Feb 4, 2021
1 parent 761a11e commit 2b43e81
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mgos_mqtt_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ static void do_pub(struct mgos_mqtt_conn *c, uint16_t packet_id,
topic, qos, (dup ? " DUP" : ""), (retain ? " RETAIN" : ""),
(int) msg.len, (int) msg.len, msg.p));
mg_mqtt_publish(c->nc, topic, packet_id, flags, msg.p, msg.len);
(void) qos;
(void) dup;
(void) retain;
}

static void do_sub(struct mgos_mqtt_conn *c, struct mgos_mqtt_subscription *s) {
Expand Down

0 comments on commit 2b43e81

Please sign in to comment.