Commit 837ed739 authored by Francis Dupont's avatar Francis Dupont
Browse files

[master] Tentative fix for Clang static analyzer

parent 877cf313
......@@ -275,6 +275,9 @@ TEST_F(PerfPkt6Test, PackTransactionId) {
const uint8_t *out_buf_data = static_cast<const uint8_t*>
// Try to make clang static analyzer happy.
ASSERT_LE(offset_transid[0], out_buf.getLength());
// Validate transaction id.
EXPECT_EQ(0, memcmp(out_buf_data + offset_transid[0], ref_data, 3));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment