Skip to content

Commit

Permalink
Fix 'unused variable' compiler - warning (ARMmbed#103)
Browse files Browse the repository at this point in the history
Fixed warning caused by from unused parameter 'service_id' in
coap_service_blockwise_size_set - function.
  • Loading branch information
Tero Heinonen authored Aug 2, 2018
1 parent 1599c6b commit cbe656a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/coap_service_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,8 @@ int8_t coap_service_certificate_set(int8_t service_id, const unsigned char *cert

int8_t coap_service_blockwise_size_set(int8_t service_id, uint16_t size)
{
(void) service_id;

if (!coap_service_handle) {
return -1;
}
Expand Down

0 comments on commit cbe656a

Please sign in to comment.