fix(developer): coverity issues for compiler.cpp
fix(developer): coverity issues for compiler.cpp

CID 309307 through 309313, 309318, 309321, 309371, 309388.

tavultesoft/keymanweb,tavultesoft/keymanweb