model-writtenrun 3222 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Hugo Zhang reported that IndexScanOK() never used its cur_skey parameter and asked whether there was a reason to retain it #1.
- Aleksander Alekseev explained that the parameter had been unused since 2006 and that the function's static scope avoided extension compatibility concerns, then supplied a patch removing the parameter and updating both callers #2.
- Daniel Gustafsson endorsed the cleanup and shared the surprise that analysis tools had not flagged the unused parameter #3.
- Heikki Linnakangas committed #2 unchanged as 1153422eda, crediting Hugo Zhang and Aleksander Alekseev as authors and Daniel Gustafsson as reviewer.
- Heikki Linnakangas confirmed that the patch was committed, closing the thread with the cleanup fully landed #4.