Skip to content

Commit 392ae4b

Browse files
committed
Initialize fields
1 parent b5dedba commit 392ae4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/extauth/TcWrapper.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ class PseudoRandom
4646
void fini();
4747
const PrngDescriptor* getDsc();
4848

49-
int index;
50-
prng_state state;
49+
int index = 0;
50+
prng_state state{};
5151
};
5252

5353
class Hash

0 commit comments

Comments
 (0)