Commit d389487
committed
Small refactor to get rid of -Wshadow=compatible-local warning
Further reduce -Wshadow=compatible-local warnings by 1 by refactoring the
code in gistRelocateBuildBuffersOnSplit() to make use of
foreach_current_index() instead of manually incrementing a variable on
each loop.
Author: David Rowley
Discussion: https://postgr.es/m/CAApHDvpGZX-X=Bn4moyXgfFa0CdSUwoa04d3isit3=1qo8F8Bw@mail.gmail.com1 parent 3e0fff2 commit d389487
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
546 | | - | |
547 | | - | |
| 546 | + | |
548 | 547 | | |
549 | 548 | | |
550 | 549 | | |
| |||
595 | 594 | | |
596 | 595 | | |
597 | 596 | | |
598 | | - | |
599 | 597 | | |
600 | 598 | | |
601 | 599 | | |
602 | 600 | | |
| 601 | + | |
603 | 602 | | |
604 | 603 | | |
605 | 604 | | |
| |||
618 | 617 | | |
619 | 618 | | |
620 | 619 | | |
621 | | - | |
622 | | - | |
623 | 620 | | |
624 | 621 | | |
625 | 622 | | |
| |||
0 commit comments