commit | a46f9850499550ddf18f01a840843169a061a87d | [log] [tgz] |
---|---|---|
author | Brian Ma <chma0@nuvoton.com> | Fri Sep 27 16:57:20 2024 +0800 |
committer | Brian Ma <chma0@nuvoton.com> | Tue Oct 08 11:31:54 2024 +0800 |
tree | f343f078a4b124fe2387cc99ca098bdd957ce217 | |
parent | be27f2e9bfab32d9281496614e3d15a49a4c6aa9 [diff] |
bej_tree: initialize node attribute format While initializing the parent and child nodes, initialize the reserved bit of the node attribute format to prevent unexpected reserved bit setting. And also override gtest's PrintTo function to avoid accessing uninitialized areas due to structure alignment. Tested: Run test cases pass Change-Id: I5b113f47c41ad15de578b80bf5e859f3b0c40503 Signed-off-by: Brian Ma <chma0@nuvoton.com>