Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

-1 return value isn't handled #69

Open
ghost opened this issue Oct 17, 2015 · 0 comments
Open

-1 return value isn't handled #69

ghost opened this issue Oct 17, 2015 · 0 comments
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Oct 17, 2015

'MassStorageDevice.CheckSCSICommand' returns -1.
This return value is not handled by caller 'MassStorageDevice.SendSCSICommand_OUT'.

#if MSD_TRACE
                    DBGMSG("Done.");
                    DBGMSG("Check command...");
#endif

                    if (!transfer.success || CheckSCSICommand(statusBuffer, SCSIcommand) != 0)
                    {
                        // TODO: Handle failure/timeout
#if MSD_TRACE
                        DBGMSG("SCSI IN command failed!");
#endif
                    }
#if MSD_TRACE
                    else
                    {
                        DBGMSG("Command OK.");
                        BasicConsole.DelayOutput(1);

at lines 817 - 833

@ghost ghost added the bug label Oct 17, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant