Platform repository - dead code and null pointer warning cleanup