mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 04:23:33 +08:00
Coverity 1304850
This commit is contained in:
@@ -630,7 +630,8 @@ class UAVCAN_EXPORT Array : public ArrayImpl<T, ArrayMode, MaxSize_>
|
||||
}
|
||||
else // Lower-left triangle
|
||||
{
|
||||
// Transposing one element
|
||||
// Transposing one element, argument swapping is intentional
|
||||
// coverity[swapped_arguments]
|
||||
*it++ = *(dst_row_major + Traits::computeElementIndexAtRowCol(col, row));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user