Files
faiss/c_api/impl
Max BuckleyandClaude Opus 4.6 7acc420929 fix: resolve compiler warnings in inverted lists and cppcontrib (#4939)
Summary:
- Fix compiler warnings in InvertedLists, BlockInvertedLists, DirectMap, OnDiskInvertedLists, InvertedListsIOHook
- Also covers cppcontrib sa_decode files (Level2-avx2-inl, Level2-inl, PQ-avx2-inl, PQ-inl)
- Fixes include `-Wshadow`, `-Wunused-parameter`, signed/unsigned comparisons, and MSVC OpenMP loop variable types

All changes are mechanical. No functional changes.

Part 8/13 of the compiler warnings cleanup (split from https://github.com/facebookresearch/faiss/issues/4810 per maintainer request).

Pull Request resolved: https://github.com/facebookresearch/faiss/pull/4939

Test Plan:
- [x] No functional changes — all fixes are mechanical renames and annotations

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

Reviewed By: mnorris11

Differential Revision: D96996384

Pulled By: alibeklfc

fbshipit-source-id: c83bd3c2fe7be38dfc9667cec2333f2e47f6c96a
2026-03-20 10:18:32 -07:00
..