Skip to content

Commit

Permalink
Fix unused parameter warning (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanDiegoMontoya authored Sep 8, 2024
1 parent af0e3ca commit 46821b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fastgltf/tools.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ FASTGLTF_EXPORT struct DefaultBufferDataAdapter {
assert(false && "Tried accessing a buffer with no data, likely because no buffers were loaded. Perhaps you forgot to specify the LoadExternalBuffers option?");
return {};
},
[](const sources::Fallback& fallback) -> span<const std::byte> {
[](const sources::Fallback&) -> span<const std::byte> {
assert(false && "Tried accessing data of a fallback buffer.");
return {};
},
Expand Down

0 comments on commit 46821b2

Please sign in to comment.