Eliminate a PVS-studio false positive warning

This commit is contained in:
Henrik Rydgård committed 2025-02-04 10:19:34 -06:00
1 parent 350882d592
commit dd4c8617e2
1 file changed
+1 -1
+1 -1
View File
@@ -232,7 +232,7 @@ static inline int GetNumVectorElements(VectorSize sz) {
case V_Pair: return 2;
case V_Triple: return 3;
case V_Quad: return 4;
default: return 0;
default: return 1; // let's not confuse static analyzers more than necessary. Anyway, in reality this is unreachable.
}
}