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

Commit55bc24e

Browse files
authored
Merge pull request#48 from postgrespro/PGPRO-8962
Fix compilation errors via clang-15.
2 parents6eb2396 +e76dfbf commit55bc24e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

‎jsonb_gin_ops.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ get_bloom_value(uint32 hash)
173173
staticuint32
174174
get_path_bloom(PathHashStack*stack)
175175
{
176-
inti=0;
177176
uint32res=0,val;
178177

179178
while (stack)
@@ -183,7 +182,6 @@ get_path_bloom(PathHashStack *stack)
183182
val=get_bloom_value(hash);
184183

185184
res |=val;
186-
i++;
187185
stack=stack->parent;
188186
}
189187
returnres;

‎jsquery_gram.y

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,10 @@ makeItemList(List *list) {
254254
%%
255255

256256
result:
257-
expr{ *result =$1; }
257+
expr{
258+
*result =$1;
259+
(void)yynerrs;/* suppress compiler warning*/
260+
}
258261
|/* EMPTY*/{ *result =NULL; }
259262
;
260263

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp