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

Fix compiler warnings due to new checks in PostgreSQL 16#27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
kovdb75 merged 1 commit intomasterfromPGPRO-7444
Nov 23, 2022

Conversation

MarinaPolyakova
Copy link

See the commit 0fe954c28584169938e5c0738cfaa9930ce77577 (Add -Wshadow=compatible-local to the standard compilation flags) in PostgreSQL 16.

vops_fdw.c: In function ‘foreign_grouping_ok’:vops_fdw.c:1218:53: warning: declaration of ‘expr’ shadows a previous local [-Wshadow=compatible-local] 1218 |                                         Expr       *expr = (Expr *) lfirst(l);      |                                                     ^~~~vops_fdw.c:1161:29: note: shadowed declaration is here 1161 |                 Expr       *expr = (Expr *) lfirst(lc);      |                             ^~~~vops_fdw.c:1243:29: warning: declaration of ‘lc’ shadows a previous local [-Wshadow=compatible-local] 1243 |                 ListCell   *lc;      |                             ^~vops_fdw.c:1118:21: note: shadowed declaration is here 1118 |         ListCell   *lc;      |                     ^~vops_fdw.c:1262:29: warning: declaration of ‘lc’ shadows a previous local [-Wshadow=compatible-local] 1262 |                 ListCell   *lc;      |                             ^~vops_fdw.c:1118:21: note: shadowed declaration is here 1118 |         ListCell   *lc;      |                     ^~vops_fdw.c:1263:29: warning: declaration of ‘aggvars’ shadows a previous local [-Wshadow=compatible-local] 1263 |                 List       *aggvars = pull_var_clause((Node *) fpinfo->local_conds,      |                             ^~~~~~~vops_fdw.c:1117:21: note: shadowed declaration is here 1117 |         List       *aggvars;      |                     ^~~~~~~vops.c: In function ‘vops_import’:vops.c:2973:49: warning: declaration of ‘dst’ shadows a previous local [-Wshadow=compatible-local] 2973 |                                           char* dst = (char*)(tile + 1);      |                                                 ^~~vops.c:2828:31: note: shadowed declaration is here 2828 |                         char* dst;      |                               ^~~

See the commit 0fe954c28584169938e5c0738cfaa9930ce77577 (Add-Wshadow=compatible-local to the standard compilation flags) in PostgreSQL 16.
@kovdb75
Copy link
Contributor

I think this commit is fine.

MarinaPolyakova reacted with thumbs up emoji

@kovdb75kovdb75 merged commit2261734 intomasterNov 23, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@kovdb75kovdb75Awaiting requested review from kovdb75

Assignees

@kovdb75kovdb75

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@MarinaPolyakova@kovdb75

[8]ページ先頭

©2009-2025 Movatter.jp