diff options
author | Martijn Kaijser <martijn@xbmc.org> | 2019-02-10 13:18:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-10 13:18:00 +0100 |
commit | 4f7cb48ca5706dde4e259396ccc63f9753b7b4c4 (patch) | |
tree | a530bcb5bdd9b1f90a5020c3a9696c2fabfbf0cc | |
parent | df5cdf05b6a225ea795ac758979c67db6a69010d (diff) | |
parent | 2986a1673b42f77821ccef0c54b2f7e03211f244 (diff) |
Merge pull request #15476 from xbmc/revert-14842-cdio_checkerror
Revert "[DetectDVDType]: fix Crash due to non-checked error state"
-rw-r--r-- | xbmc/storage/DetectDVDType.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/xbmc/storage/DetectDVDType.cpp b/xbmc/storage/DetectDVDType.cpp index b2baa16303..63298390b8 100644 --- a/xbmc/storage/DetectDVDType.cpp +++ b/xbmc/storage/DetectDVDType.cpp @@ -328,11 +328,6 @@ DWORD CDetectDVDMedia::GetTrayState() } laststatus = status; m_cdio->cdio_destroy(cdio); - - if (status == DRIVER_OP_UNSUPPORTED) - { - return DRIVE_NONE; - } } else return DRIVE_NOT_READY; |