removed dummy references and replaced with pragma to ignore C4100 warning & removed one unreachable return