Compiler warning for asserts fixed.

The asserts have been combined with a string which always resolved
to true. The strings have been moved to code comments.