Clean up release build warnings.
Fix bad signature in overriding virtual function in SimpleChat sample.