Skip to content

Commit

Permalink
Fix unused-variable warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
PetervdPerk-NXP committed Aug 16, 2023
1 parent b68364f commit 22bbfc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/transport/multicast/link/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ int8_t _z_multicast_recv_t_msg_na(_z_transport_multicast_t *ztm, _z_transport_me
} while (false); // The 1-iteration loop to use continue to break the entire loop on error

// Wrap the main buffer for to_read bytes
_z_zbuf_t zbuf = _z_zbuf_view(&ztm->_zbuf, to_read);
_z_zbuf_view(&ztm->_zbuf, to_read);

if (ret == _Z_RES_OK) {
_Z_DEBUG(">> \t transport_message_decode\n");
Expand Down
2 changes: 1 addition & 1 deletion src/transport/unicast/link/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ int8_t _z_unicast_recv_t_msg_na(_z_transport_unicast_t *ztu, _z_transport_messag
} while (false); // The 1-iteration loop to use continue to break the entire loop on error

// Wrap the main buffer for to_read bytes
_z_zbuf_t zbuf = _z_zbuf_view(&ztu->_zbuf, to_read);
_z_zbuf_view(&ztu->_zbuf, to_read);

if (ret == _Z_RES_OK) {
_Z_DEBUG(">> \t transport_message_decode\n");
Expand Down

0 comments on commit 22bbfc2

Please sign in to comment.