mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-28 16:17:28 -04:00
rstypeserializer fix uninitialized variable usage
This commit is contained in:
parent
0f01f110ad
commit
341a68ce07
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue