-Fix: return 0 from unreached part of function to silence some compilers

git-svn-id: http://svn.openttd.org/trunk@26040 6aa0318a-3be1-0310-93fa-89fd2396df07
-Fix: make variable initialization more obvious for humans and compilers.

git-svn-id: http://svn.openttd.org/trunk@26041 6aa0318a-3be1-0310-93fa-89fd2396df07