[Tizen] Fix for GCC14 59/312459/1 accepted/tizen/unified/20240611.123643 accepted/tizen/unified/toolchain/20240610.173253 accepted/tizen/unified/x/20240610.223825
authorSeungho Baek <sbsh.baek@samsung.com>
Mon, 10 Jun 2024 09:08:09 +0000 (18:08 +0900)
committerSeungho Baek <sbsh.baek@samsung.com>
Mon, 10 Jun 2024 09:08:09 +0000 (18:08 +0900)
Change-Id: I75f4fe3625282c002c5e201185d3b1e1d18c5405
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
examples/reflection-demo/gltf-scene.cpp

index 9b5a67f..ad05239 100644 (file)
@@ -464,7 +464,7 @@ std::vector<unsigned char> glTF::GetMeshAttributeBuffer(const glTF_Mesh& mesh, c
   std::vector<Data> data{};
   for(const auto& attrType : attrTypes)
   {
-    std::find_if(mesh.attributes.begin(), mesh.attributes.end(), [&data, &attrType](const std::pair<glTFAttributeType, uint32_t>& item) {
+    (void)std::find_if(mesh.attributes.begin(), mesh.attributes.end(), [&data, &attrType](const std::pair<glTFAttributeType, uint32_t>& item) {
       if(item.first == attrType)
       {
         data.emplace_back();