mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-28 01:34:40 +00:00
40 lines
1.4 KiB
Diff
40 lines
1.4 KiB
Diff
From 86981018ce0963d93a45270abe379a705a055edf Mon Sep 17 00:00:00 2001
|
|
From: Stefan Saraev <stefan@saraev.ca>
|
|
Date: Mon, 16 Jun 2014 19:55:02 +0300
|
|
Subject: [PATCH] hide useless errors
|
|
|
|
---
|
|
src/FbTk/Resource.cc | 2 --
|
|
src/FbTk/Resource.hh | 2 --
|
|
2 files changed, 0 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/src/FbTk/Resource.cc b/src/FbTk/Resource.cc
|
|
index 4be85de..f7c7273 100644
|
|
--- a/src/FbTk/Resource.cc
|
|
+++ b/src/FbTk/Resource.cc
|
|
@@ -91,8 +91,6 @@ bool ResourceManager::load(const char *filename) {
|
|
resource->setFromString(value.addr);
|
|
else {
|
|
_FB_USES_NLS;
|
|
- cerr<<_FBTK_CONSOLETEXT(Error, FailedRead, "Failed to read", "Couldn't load a resource (following)")<<": "<<resource->name()<<endl;
|
|
- cerr<<_FBTK_CONSOLETEXT(Error, UsingDefault, "Setting default value", "Falling back to default value for resource")<<endl;
|
|
resource->setDefaultValue();
|
|
}
|
|
}
|
|
diff --git a/src/FbTk/Resource.hh b/src/FbTk/Resource.hh
|
|
index 8c9d645..348f7e2 100644
|
|
--- a/src/FbTk/Resource.hh
|
|
+++ b/src/FbTk/Resource.hh
|
|
@@ -216,8 +216,6 @@ void ResourceManager::addResource(Resource<T> &r) {
|
|
r.altName().c_str(), &value_type, &value)) {
|
|
r.setFromString(value.addr);
|
|
} else {
|
|
- std::cerr<<"Failed to read: "<<r.name()<<std::endl;
|
|
- std::cerr<<"Setting default value"<<std::endl;
|
|
r.setDefaultValue();
|
|
}
|
|
|
|
--
|
|
1.7.2.5
|
|
|