diff --git a/tiny_gltf.h b/tiny_gltf.h index df29757..8b43da0 100644 --- a/tiny_gltf.h +++ b/tiny_gltf.h @@ -4583,7 +4583,7 @@ bool TinyGLTF::WriteGltfSceneToFile(Model *model, const std::string &filename, else { binUri = defaultBinFilename + defaultBinFileExt; bool inUse = true; - int numUsed = 0; + int numUsed = 0; while(inUse) { inUse = false; for (const std::string& usedName : usedUris) {