mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
rstypeserializer fix uninitialized variable usage
This commit is contained in:
parent
0f01f110ad
commit
341a68ce07
@ -655,7 +655,7 @@ struct RsTypeSerializer
|
||||
break;
|
||||
case RsGenericSerializer::FROM_JSON:
|
||||
{
|
||||
uint32_t f;
|
||||
uint32_t f = 0;
|
||||
ctx.mOk &=
|
||||
(ctx.mOk || ctx.mFlags & RsGenericSerializer::SERIALIZATION_FLAG_YIELDING)
|
||||
&& from_JSON(memberName, f, ctx.mJson);
|
||||
|
Loading…
Reference in New Issue
Block a user