Removed unnecessary lines that were causing compiler warnings.