mirror of https://github.com/PCSX2/pcsx2.git
CDVD: Comment out unreachable code.
-Left in so future checks can see what's going on. -Coverity CID 146818: In ISOreadSector(unsigned char *, unsigned int, int): Code can never be reached because of a logical contradiction (CWE-561)
This commit is contained in:
parent
4a056fe55a
commit
3618983aaa
|
@ -401,10 +401,10 @@ s32 CALLBACK ISOreadSector(u8* tempbuffer, u32 lsn, int mode)
|
||||||
|
|
||||||
switch (mode)
|
switch (mode)
|
||||||
{
|
{
|
||||||
case CDVD_MODE_2352:
|
//case CDVD_MODE_2352:
|
||||||
// Unreachable due to shortcut above.
|
// Unreachable due to shortcut above.
|
||||||
pxAssume(false);
|
// pxAssume(false);
|
||||||
break;
|
// break;
|
||||||
|
|
||||||
case CDVD_MODE_2340:
|
case CDVD_MODE_2340:
|
||||||
pbuffer += 12;
|
pbuffer += 12;
|
||||||
|
|
Loading…
Reference in New Issue