Skip to content

Commit

Permalink
make linters happy
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
  • Loading branch information
ahcorde committed Dec 4, 2024
1 parent e7a06d2 commit ae44d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rmw_zenoh_cpp/src/detail/rmw_context_impl_s.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class rmw_context_impl_s::Data final
// strcmp(shm_enabled._cstr, "true") == 0)
// {
// // 2 bytes for each byte of the id, plus the trailing \0
// char idstr[sizeof(zid.id) * 2 + 1];
// char idstr[sizeof(zid.id) * 2 + 1];
// static constexpr size_t max_size_of_each = 3; // 2 for each byte, plus the trailing \0
// for (size_t i = 0; i < sizeof(zid.id); ++i) {
// snprintf(idstr + 2 * i, max_size_of_each, "%02x", zid.id[i]);
Expand Down

0 comments on commit ae44d68

Please sign in to comment.