forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd389487
committed
Small refactor to get rid of -Wshadow=compatible-local warning
Further reduce -Wshadow=compatible-local warnings by 1 by refactoring thecode in gistRelocateBuildBuffersOnSplit() to make use offoreach_current_index() instead of manually incrementing a variable oneach loop.Author: David RowleyDiscussion:https://postgr.es/m/CAApHDvpGZX-X=Bn4moyXgfFa0CdSUwoa04d3isit3=1qo8F8Bw@mail.gmail.com1 parent3e0fff2 commitd389487
1 file changed
+2
-5
lines changedLines changed: 2 additions & 5 deletions
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
Comments
(0)