guybrush77 / rapidobj

A fast, header-only, C++17 library for parsing Wavefront .obj files.
MIT License
159 stars 14 forks source link

Fix shadowed & unused var warnings from gcc 13.1 #22

Closed asmaloney closed 11 months ago

asmaloney commented 11 months ago

When running gcc 13.1 using -Wall -Wextra -Wpedantic -Wshadow -Wunused it was producing warnings about shadowed and unused vars.

This set of changes fixed it for me.

(I also see I committed an opportunistic change of std::vector<MergeTask> to MergeTasks - I can back that out if you like.)