- Notifications
You must be signed in to change notification settings - Fork26
Fix compiler warnings due to new checks in PostgreSQL 16#43
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
See the commit 0fe954c28584169938e5c0738cfaa9930ce77577 (Add-Wshadow=compatible-local to the standard compilation flags) in PostgreSQL 16.pg_query_state.c: In function ‘pg_query_state’:pg_query_state.c:615:66: warning: declaration of ‘msg’ shadows a previous local[-Wshadow=compatible-local] 615 | shm_mq_msg *msg =(shm_mq_msg *) lfirst(i); | ^~~pg_query_state.c:489:42: note: shadowed declaration is here 489 | shm_mq_msg *msg; | ^~~pg_query_state.c: In function ‘GetRemoteBackendWorkers’:pg_query_state.c:946:25: warning: declaration of ‘proc’ shadows a parameter[-Wshadow=compatible-local] 946 | PGPROC *proc = BackendPidGetProc(pid); | ^~~~pg_query_state.c:913:33: note: shadowed declaration is here 913 | GetRemoteBackendWorkers(PGPROC *proc) | ~~~~~~~~^~~~
codecovbot commentedNov 21, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov Report
@@ Coverage Diff @@## master #43 +/- ##==========================================+ Coverage 76.36% 76.88% +0.51%========================================== Files 9 9 Lines 694 636 -58 ==========================================- Hits 530 489 -41+ Misses 164 147 -17
Help us with your feedback. Take ten seconds to tell ushow you rate us. Have a feature suggestion?Share it here. |
See the commit 0fe954c28584169938e5c0738cfaa9930ce77577 (Add -Wshadow=compatible-local to the standard compilation flags) in PostgreSQL 16.