JsonbParseState *state = NULL;
JsonbValue *res;
- res = pushJsonbValue(&state, WJB_BEGIN_OBJECT, NULL);
+ (void) pushJsonbValue(&state, WJB_BEGIN_OBJECT, NULL);
for (i = 0; i < count; i++)
{
key.val.string.len = HS_KEYLEN(entries, i);
key.val.string.val = HS_KEY(entries, base, i);
- res = pushJsonbValue(&state, WJB_KEY, &key);
+ (void) pushJsonbValue(&state, WJB_KEY, &key);
if (HS_VALISNULL(entries, i))
{
val.val.string.len = HS_VALLEN(entries, i);
val.val.string.val = HS_VAL(entries, base, i);
}
- res = pushJsonbValue(&state, WJB_VALUE, &val);
+ (void) pushJsonbValue(&state, WJB_VALUE, &val);
}
res = pushJsonbValue(&state, WJB_END_OBJECT, NULL);
initStringInfo(&tmp);
- res = pushJsonbValue(&state, WJB_BEGIN_OBJECT, NULL);
+ (void) pushJsonbValue(&state, WJB_BEGIN_OBJECT, NULL);
for (i = 0; i < count; i++)
{
key.val.string.len = HS_KEYLEN(entries, i);
key.val.string.val = HS_KEY(entries, base, i);
- res = pushJsonbValue(&state, WJB_KEY, &key);
+ (void) pushJsonbValue(&state, WJB_KEY, &key);
if (HS_VALISNULL(entries, i))
{
val.val.string.val = HS_VAL(entries, base, i);
}
}
- res = pushJsonbValue(&state, WJB_VALUE, &val);
+ (void) pushJsonbValue(&state, WJB_VALUE, &val);
}
res = pushJsonbValue(&state, WJB_END_OBJECT, NULL);