- Notifications
You must be signed in to change notification settings - Fork26
Commit5ba8779

Marina Polyakova
Fix compiler warnings due to new checks in PostgreSQL 16
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) | ~~~~~~~~^~~~1 parent74f6c16 commit5ba8779
1 file changed
+9
-8
lines changedLines changed: 9 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
612 | 612 |
| |
613 | 613 |
| |
614 | 614 |
| |
615 |
| - | |
| 615 | + | |
616 | 616 |
| |
617 | 617 |
| |
618 |
| - | |
| 618 | + | |
619 | 619 |
| |
620 | 620 |
| |
621 |
| - | |
| 621 | + | |
622 | 622 |
| |
623 |
| - | |
| 623 | + | |
| 624 | + | |
624 | 625 |
| |
625 |
| - | |
| 626 | + | |
626 | 627 |
| |
627 | 628 |
| |
628 | 629 |
| |
| |||
943 | 944 |
| |
944 | 945 |
| |
945 | 946 |
| |
946 |
| - | |
947 |
| - | |
| 947 | + | |
| 948 | + | |
948 | 949 |
| |
949 |
| - | |
| 950 | + | |
950 | 951 |
| |
951 | 952 |
| |
952 | 953 |
| |
|
0 commit comments
Comments
(0)