Fix for coverity 17980