mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-16 19:14:18 +01:00
USB: Fix array index 'i' is used before limits check warning.
Codacy.
This commit is contained in:
1 parent
6047322f0c
commit
498eb9330b
1 file changed
+1
-1
@@ -148,7 +148,7 @@ static int jo_processDU(jo_bits_t *bits, float A[64], const unsigned char htdc[9
|
||||
for(; (endpos>0)&&(Q[endpos]==0); --endpos) { /* do nothing */ }
|
||||
for(int i = 1; i <= endpos;) {
|
||||
int run = 0;
|
||||
while (Q[i]==0 && i<endpos) {
|
||||
while (i < endpos && Q[i] == 0) {
|
||||
++run;
|
||||
++i;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user