Merge pull request #110 from AlvaroBarua/warnings_cleanup

Removed unreachable code and fixed ambiguity warning.
This commit is contained in:
Syoyo Fujita 2018-11-16 14:00:33 +09:00 committed by GitHub
commit 5110820ebb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;