Unused function argument
Shadow variable
Explicit cast
Minor style with sizeof() and memset()
No ; at the end of namespace