Update notes for submitted changes

* Fix some issues found by cppcheck-1.58.