mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 01:33:45 +01:00
Eliminate a PVS-studio false positive warning
This commit is contained in:
1 parent
350882d592
commit
dd4c8617e2
1 file changed
+1
-1
@@ -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.
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user