aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Borges de Freitas <enen92@users.noreply.github.com>2022-03-27 21:58:28 +0100
committerGitHub <noreply@github.com>2022-03-27 21:58:28 +0100
commit318e323aea3185a3297758ff3954b063c266b012 (patch)
tree4de638fcf783e0f18105a09b82a85d6aa9d50d62
parentbb77baeec617c6d3facdd75b37f6acec95cd58ed (diff)
parentfcee229e73354c0335ae0c37c7dafd4252ffd696 (diff)
Merge pull request #21202 from enen92/removelogdiscs
[discs] Remove unecessary log error lines
-rw-r--r--xbmc/platform/posix/storage/discs/DiscDriveHandlerPosix.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/xbmc/platform/posix/storage/discs/DiscDriveHandlerPosix.cpp b/xbmc/platform/posix/storage/discs/DiscDriveHandlerPosix.cpp
index 614955bd42..246bcefbe1 100644
--- a/xbmc/platform/posix/storage/discs/DiscDriveHandlerPosix.cpp
+++ b/xbmc/platform/posix/storage/discs/DiscDriveHandlerPosix.cpp
@@ -37,7 +37,6 @@ DriveState CDiscDriveHandlerPosix::GetDriveState(const std::string& devicePath)
CdIo_t* cdio = libCdio->cdio_open(devicePath.c_str(), DRIVER_UNKNOWN);
if (!cdio)
{
- CLog::LogF(LOGERROR, "Failed to open device {} libcdio handler", devicePath);
return driveStatus;
}
@@ -80,7 +79,6 @@ TrayState CDiscDriveHandlerPosix::GetTrayState(const std::string& devicePath)
CdIo_t* cdio = libCdio->cdio_open(devicePath.c_str(), DRIVER_UNKNOWN);
if (!cdio)
{
- CLog::LogF(LOGERROR, "Failed to open device {} libcdio handler", devicePath);
return trayStatus;
}