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