Add assert() to soothe Clang static analyzer.