The inspection or permitting of any building, system or plan, under the requirements of this chapter shall not be construed in any court as a warranty of the physical condition of such building, system or plan or their adequacy, nor any guaranty of compliance with the codes. Neither Putnam County, nor any employee thereof, shall be liable in tort for damages for any defect or hazardous or illegal condition or inadequacy in such building, system or plan, nor for any failure of any component of such, which may occur subsequent to such inspection or permitting.