mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 20:00:51 -05:00
bb2c7b7dc0
Fix logic added by commit 7fdd5128b1 (FindMatlab: Fix version selection
if a version is given, 2021-07-02, v3.22.0-rc1~66^2). Ensure that
`_list_index` is always initialized to -1, akin to `list(FIND)` not
finding a match.
Issue: #22377
66 KiB
66 KiB