Compiler warning resolution