Admin warns of action against vioaltion of building code