mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-02 03:06:31 -04:00
Fix all warnings in UnitTest
This commit is contained in:
parent
e3240de8e0
commit
aa05d60894
25 changed files with 95 additions and 93 deletions
|
@ -141,7 +141,7 @@ TEST(libretroshare_serialiser, test_RsTlvBase)
|
|||
uint16_t data5[6 + 20];
|
||||
uint32_t pos =0;
|
||||
uint32_t* offset = &pos;
|
||||
uint32_t pre_pos = pos;
|
||||
//uint32_t pre_pos = pos;
|
||||
SetTlvString((void*)data5, sizeof(data5), offset, TLV_TYPE_STR_NAME, teststring);
|
||||
uint32_t tlvsize = GetTlvStringSize(teststring);
|
||||
EXPECT_TRUE(tlvsize == *offset);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue