CoursePress Pro Bug in class-unit.php

wp-content/plugins/coursepress/2.0/include/coursepress/data/shortcode/class-unit.php:112

/**
		 * @todo : THIS CODE IS UNREACHABLE...?!?!?!?!
		 */

		// COMPLETION LOGIC

		if ( ! $unit_id ) {
			$unit_id = get_the_ID();
		}