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