(a) Quality control of materials and workmanship is not within the purview of this article except as it relates to the purposes stated herein. (b) The inspection or permitting of any building, system, or plan under the requirements of this article shall not be construed in any court as a warranty of the physical condition of such building, system, or plan or their adequacy. The county, county employees, construction board of adjustments, and appeals board members shall not 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, that may occur subsequent to such inspection or permitting.