Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix transport/rx unused-variable warnings #240

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading