Skip to content

Commit 2b43e81

Browse files
committed
Silence warnings
1 parent 761a11e commit 2b43e81

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/mgos_mqtt_conn.c

+3
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@ static void do_pub(struct mgos_mqtt_conn *c, uint16_t packet_id,
198198
topic, qos, (dup ? " DUP" : ""), (retain ? " RETAIN" : ""),
199199
(int) msg.len, (int) msg.len, msg.p));
200200
mg_mqtt_publish(c->nc, topic, packet_id, flags, msg.p, msg.len);
201+
(void) qos;
202+
(void) dup;
203+
(void) retain;
201204
}
202205

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

0 commit comments

Comments
 (0)