Merge pull request #314 from Snowapril/master

Add (void)err for handling unused variable warning
This commit is contained in:
Syoyo Fujita 2021-03-20 19:59:44 +09:00 committed by GitHub
commit 151495558e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4472,6 +4472,7 @@ static bool GetAttributeForAllPoints(uint32_t componentType, draco::Mesh *mesh,
static bool ParseDracoExtension(Primitive *primitive, Model *model,
std::string *err,
const Value &dracoExtensionValue) {
(void)err;
auto bufferViewValue = dracoExtensionValue.Get("bufferView");
if (!bufferViewValue.IsInt()) return false;
auto attributesValue = dracoExtensionValue.Get("attributes");