mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Removed some dead code.
This commit is contained in:
@@ -160,19 +160,6 @@ namespace loot {
|
||||
return out;
|
||||
}
|
||||
|
||||
//Converts a boolean to a string representation (true/false)
|
||||
std::string BoolToString(const bool b) {
|
||||
if (b)
|
||||
return "true";
|
||||
else
|
||||
return "false";
|
||||
}
|
||||
|
||||
//Check if registry subkey exists.
|
||||
bool RegKeyExists(const std::string& keyStr, const std::string& subkey, const std::string& value) {
|
||||
return !RegKeyStringValue(keyStr, subkey, value).empty();
|
||||
}
|
||||
|
||||
//Get registry subkey value string.
|
||||
string RegKeyStringValue(const std::string& keyStr, const std::string& subkey, const std::string& value) {
|
||||
#if _WIN32 || _WIN64
|
||||
|
||||
Reference in New Issue
Block a user