remove struct dot initialization for cpp
This commit is contained in:
parent
e2371f9d91
commit
10dc3b35e0
|
@ -7,11 +7,10 @@
|
|||
|
||||
const char* ranStr = "tvapq02tcp";
|
||||
const int ranStrLen = strlen(ranStr);
|
||||
SWalSyncInfo syncMeta = {
|
||||
.isWeek = -1,
|
||||
.seqNum = UINT64_MAX,
|
||||
.term = UINT64_MAX,
|
||||
};
|
||||
SWalSyncInfo syncMeta = {0};
|
||||
syncMeta.isWeek = -1;
|
||||
syncMeta.seqNum = UINT64_MAX;
|
||||
syncMeta.term = UINT64_MAX;
|
||||
|
||||
class WalCleanEnv : public ::testing::Test {
|
||||
protected:
|
||||
|
|
Loading…
Reference in New Issue