removing some warnings

+ Non-author changes to origial patch:

  * Surrounding trailing whitespace cleaned up.
Minor typo in log message