From c704d73bd0a0edf0b5075e954b07b9d7ca703d38 Mon Sep 17 00:00:00 2001 From: Bryn Lloyd Date: Wed, 21 Jun 2023 18:42:24 +0200 Subject: [PATCH] readability-redundant-string-init --- tiny_gltf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiny_gltf.h b/tiny_gltf.h index dd57060..01d268b 100644 --- a/tiny_gltf.h +++ b/tiny_gltf.h @@ -8185,7 +8185,7 @@ bool TinyGLTF::WriteGltfSceneToStream(const Model *model, std::ostream &stream, for (unsigned int i = 0; i < model->images.size(); ++i) { detail::json image; - std::string dummystring = ""; + std::string dummystring; // UpdateImageObject need baseDir but only uses it if embeddedImages is // enabled, since we won't write separate images when writing to a stream // we