Author: Damyon Wiese
MDL-36904 Assignment: Fix all errors and warnings from codechecker
http://git.moodle.org/gw?p=moodle.git;a=commit;h=e5403f8c44f272564eca953736a3c9afd45fb1bd
http://github.com/moodle/moodle/commit/e5403f8c44f272564eca953736a3c9afd45fb1bd
+ 2.5 en [numfilesforlog,assignsubmission_file]