mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-14 06:15:54 +08:00
Merge pull request #110 from AlvaroBarua/warnings_cleanup
Removed unreachable code and fixed ambiguity warning.
This commit is contained in:
commit
5110820ebb
@ -1129,8 +1129,6 @@ static bool Equals(const tinygltf::Value &one, const tinygltf::Value &other) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
// Equals function for std::vector<double> using TINYGLTF_DOUBLE_EPSILON
|
||||
@ -2211,7 +2209,7 @@ static bool ParseStringProperty(
|
||||
}
|
||||
|
||||
if (ret) {
|
||||
(*ret) = it.value();
|
||||
(*ret) = it.value().get<std::string>();
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user