Fix cppcheck warning for Application projects.