Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit fe68f11

Browse files
author
Nikita Glukhov
committed
Fix unused variable warnings
1 parent a8191e1 commit fe68f11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jsquery_op.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ recursiveExecute(JsQueryItem *jsq, JsonbValue *jb, JsQueryItem *jsqLeftArg)
449449
if (JsonbType(jb) == jbvScalar)
450450
{
451451
JsonbIterator *it;
452-
int32 r;
452+
int32 r PG_USED_FOR_ASSERTS_ONLY;
453453
JsonbValue v;
454454

455455
it = JsonbIteratorInit(jb->val.binary.data);
@@ -572,7 +572,7 @@ recursiveExecute(JsQueryItem *jsq, JsonbValue *jb, JsQueryItem *jsqLeftArg)
572572
if (JsonbType(jb) == jbvScalar)
573573
{
574574
JsonbIterator *it;
575-
int32 r;
575+
int32 r PG_USED_FOR_ASSERTS_ONLY;
576576
JsonbValue v;
577577

578578
it = JsonbIteratorInit(jb->val.binary.data);

0 commit comments

Comments
 (0)