Minor cleanups

This commit is contained in:
Maschell 2024-02-24 15:17:17 +01:00
parent 4a03f3efe6
commit 950a55cd8f
2 changed files with 1 additions and 2 deletions

View File

@ -24,7 +24,6 @@ namespace WUPSConfigAPIBackend {
this->mCallbacks.onSelected(mContext, isSelected);
}
std::string WUPSConfigItemV2::getCurrentValueDisplay() const {
if (this->mCallbacks.getCurrentValueDisplay == nullptr) {
DEBUG_FUNCTION_LINE_ERR("getCurrentValueDisplay callback not implemented. [%s]", mDisplayName.c_str());

View File

@ -549,7 +549,7 @@ namespace StorageUtils {
*outSize = tmp;
return WUPS_STORAGE_ERROR_SUCCESS;
}
DEBUG_FUNCTION_LINE_ERR("Failed to get size for item %s", key);
DEBUG_FUNCTION_LINE_WARN("Failed to get size for item %s", key);
return WUPS_STORAGE_ERROR_UNEXPECTED_DATA_TYPE;
}
return WUPS_STORAGE_ERROR_NOT_FOUND;