Skip to content
Open
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
3 changes: 1 addition & 2 deletions include/fastdds/rtps/common/CacheChange.h
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,7 @@ struct RTPS_DllAPI CacheChange_t
{
// Keep index of next fragment on the payload portion at the beginning of each fragment. Last
// fragment will have fragment_count_ as 'next fragment index'
size_t offset = 0;
for (uint32_t i = 1; i <= fragment_count_; i++, offset += fragment_size_)
for (uint32_t i = 1; i <= fragment_count_; i++)
{
set_next_missing_fragment(i - 1, i); // index to next fragment in missing list
}
Expand Down
Loading