fix: -Wunused-variable warnings
fix: -Wunused-parameter warnings
fix: -Wunused-but-set-variable warnings
Merge pull request #295 from YueRen/warnings

Warnings