提交 e6625328 编写于 作者: R Rod Sheeter

[subset] Cppcheck complaints

上级 13b3cd30
......@@ -179,8 +179,8 @@ static inline void hb_test_assert_blobs_equal (hb_blob_t *expected_blob, hb_blob
{
int expected = *(raw_expected + i);
int actual = *(raw_actual + i);
if (expected != actual) fprintf(stderr, "+%d %02x != %02x\n", i, expected, actual);
else fprintf(stderr, "+%d %02x\n", i, expected);
if (expected != actual) fprintf(stderr, "+%u %02x != %02x\n", i, expected, actual);
else fprintf(stderr, "+%u %02x\n", i, expected);
}
}
g_assert_cmpint(0, ==, memcmp(raw_expected, raw_actual, expected_length));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册