Fix a typo in the cppapp.h header and an unused variable.