Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitac2b404

Browse files
committed
[PGPRO-5310] Mark variables used for assert only as such
So, they would not cause warnings when build with --disable-cassert instidecontrib tree
1 parent462e2b9 commitac2b404

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
@@ -542,7 +542,7 @@ recursiveExecute(JsQueryItem *jsq, JsonbValue *jb, JsQueryItem *jsqLeftArg,
542542
elseif (JsonbType(jb)==jbvScalar)
543543
{
544544
JsonbIterator*it;
545-
int32r;
545+
int32rPG_USED_FOR_ASSERTS_ONLY;
546546
JsonbValuev;
547547

548548
it=JsonbIteratorInit(jb->val.binary.data);
@@ -729,7 +729,7 @@ recursiveExecute(JsQueryItem *jsq, JsonbValue *jb, JsQueryItem *jsqLeftArg,
729729
if (JsonbType(jb)==jbvScalar)
730730
{
731731
JsonbIterator*it;
732-
int32r;
732+
int32rPG_USED_FOR_ASSERTS_ONLY;
733733
JsonbValuev;
734734

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp