Commit 96e5951
committed
Suppress more variable-set-but-not-used warnings from clang 15.
Mop up assorted set-but-not-used warnings in the back branches.
This includes back-patching relevant fixes from commit 152c9f7
the rest of the way, but there are also several cases that did not
appear in HEAD. Some of those we'd fixed in a retail way but not
back-patched, and others I think just got rewritten out of existence
during nearby refactoring.
While here, also back-patch b1980f6 (PL/Tcl: Fix compiler warnings
with Tcl 8.6) into 9.2, so that that branch compiles warning-free
with modern Tcl.
Per project policy, this is a candidate for back-patching into
out-of-support branches: it suppresses annoying compiler warnings
but changes no behavior. Hence, back-patch all the way to 9.2.
Discussion: https://postgr.es/m/514615.1663615243@sss.pgh.pa.us1 parent 1b69865 commit 96e5951
2 files changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
676 | 676 | | |
677 | 677 | | |
678 | 678 | | |
679 | | - | |
680 | 679 | | |
681 | 680 | | |
682 | 681 | | |
683 | | - | |
684 | 682 | | |
685 | 683 | | |
686 | 684 | | |
687 | 685 | | |
688 | | - | |
689 | 686 | | |
690 | 687 | | |
691 | 688 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3964 | 3964 | | |
3965 | 3965 | | |
3966 | 3966 | | |
3967 | | - | |
3968 | 3967 | | |
3969 | 3968 | | |
3970 | 3969 | | |
| |||
4004 | 4003 | | |
4005 | 4004 | | |
4006 | 4005 | | |
4007 | | - | |
| 4006 | + | |
4008 | 4007 | | |
4009 | 4008 | | |
4010 | 4009 | | |
| |||
0 commit comments