[FIX] fix unused parameter
[FIX] fix unused variable
[FIX] fix Wreorder warning
[FIX] fix extra semicolon
[FIX] fix integer constant warning
[FIX] fix shadow warnings
[FIX] fix shadow warnings, cleanup
[FIX] fix unreachable code
[FIX] fix unreachable code
[FIX] warning eof
[FIX] fix unused parameter warning
[FIX] fix unused member warning
[FIX] add virtual destructor
[FIX] add prototype
[FIX] fix shadow warnings
[FIX] fix shadow warnings
[FIX] fix shadow warnings
[FIX] fix shadow warnings
[FIX] fix shadow warnings
[FIX] fix reduced variable scope, remove shadowing