[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
[FIX] fix shadow warnings