cppcheck: fix reports Possible inefficient checking for "<var>" emptines...

...s