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

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");