             let enumVal = UInt(mtlEnum.getValue(tAddress))
             samplerDesc.tAddressMode = MTLSamplerAddressMode(rawValue: enumVal)!
         }
-        if let normCoord = elem.valueForAttribute("normalized-coordinates") as? String {
+        if let _ = elem.valueForAttribute("normalized-coordinates") as? String {
             samplerDesc.normalizedCoordinates = true
         }
         if let lodMinClamp = elem.valueForAttribute("lod-min-clamp") as? String {

        if let label = elem.valueForAttribute("label") as? String {
            samplerDesc.label = label
        }
        
        if let minFilter = elem.valueForAttribute("min-filter") as? String {
            let mtlEnum = descriptorManager.mtlEnums["mtlSamplerMinMapFilter"]!
            let enumVal = UInt(mtlEnum.getValue(minFilter))

        if let lodMaxClamp = elem.valueForAttribute("lod-max-clamp") as? String {
            samplerDesc.lodMaxClamp = Float(lodMaxClamp)!
        }
        if let _ = elem.valueForAttribute("lod-average") as? String {
            samplerDesc.lodAverage = true
        }
        if let compareFn = elem.valueForAttribute("compare-function") as? String {
