From c8cd3f022948e5d9822cb32e8c027b766eb2c043 Mon Sep 17 00:00:00 2001 From: Ken Bannister Date: Mon, 24 Feb 2020 06:20:43 -0500 Subject: [PATCH] net/gcoap: fix vera++ code style warnings --- sys/net/application_layer/gcoap/gcoap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/application_layer/gcoap/gcoap.c b/sys/net/application_layer/gcoap/gcoap.c index 6a28662a09..42a198dc58 100644 --- a/sys/net/application_layer/gcoap/gcoap.c +++ b/sys/net/application_layer/gcoap/gcoap.c @@ -103,7 +103,6 @@ static event_queue_t _queue; static uint8_t _listen_buf[CONFIG_GCOAP_PDU_BUF_SIZE]; static sock_udp_t _sock; - /* Event loop for gcoap _pid thread. */ static void *_event_loop(void *arg) { @@ -434,8 +433,9 @@ static void _find_req_memo(gcoap_request_memo_t **memo_ptr, coap_pkt_t *src_pdu, unsigned cmplen = coap_get_token_len(src_pdu); for (int i = 0; i < CONFIG_GCOAP_REQ_WAITING_MAX; i++) { - if (_coap_state.open_reqs[i].state == GCOAP_MEMO_UNUSED) + if (_coap_state.open_reqs[i].state == GCOAP_MEMO_UNUSED) { continue; + } gcoap_request_memo_t *memo = &_coap_state.open_reqs[i]; if (memo->send_limit == GCOAP_SEND_LIMIT_NON) {