Commit c705646
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 ca8fd34 commit c705646
2 files changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
705 | 705 | | |
706 | 706 | | |
707 | 707 | | |
708 | | - | |
709 | 708 | | |
710 | 709 | | |
711 | 710 | | |
712 | | - | |
713 | 711 | | |
714 | 712 | | |
715 | 713 | | |
716 | 714 | | |
717 | | - | |
718 | 715 | | |
719 | 716 | | |
720 | 717 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4192 | 4192 | | |
4193 | 4193 | | |
4194 | 4194 | | |
4195 | | - | |
4196 | 4195 | | |
4197 | 4196 | | |
4198 | 4197 | | |
| |||
4232 | 4231 | | |
4233 | 4232 | | |
4234 | 4233 | | |
4235 | | - | |
| 4234 | + | |
4236 | 4235 | | |
4237 | 4236 | | |
4238 | 4237 | | |
| |||
0 commit comments