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

Commite709ced

Browse files
committed
Silence compiler warnings in new jsonb code.
Amit Kapila.
1 parentf3cfc23 commite709ced

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/backend/utils/adt/jsonb_util.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,7 @@ JsonbIteratorNext(JsonbIterator ** it, JsonbValue * val, bool skipNested)
799799
}
800800

801801
elog(ERROR,"invalid iterator state");
802+
return-1;
802803
}
803804

804805
/*
@@ -1039,6 +1040,7 @@ JsonbDeepContains(JsonbIterator ** val, JsonbIterator ** mContained)
10391040
}
10401041

10411042
elog(ERROR,"unexpectedly fell off end of jsonb container");
1043+
return false;
10421044
}
10431045

10441046
/*
@@ -1172,6 +1174,7 @@ compareJsonbScalarValue(JsonbValue * aScalar, JsonbValue * bScalar)
11721174
}
11731175
}
11741176
elog(ERROR,"jsonb scalar type mismatch");
1177+
return-1;
11751178
}
11761179

11771180
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp