         )
 
         var volumeInfo = AMCoreAudioVolumeInfo()
-        var status: OSStatus
 
         if Bool(boolean: AudioObjectHasProperty(deviceID, &address)) {
             var canSetVolumeBoolean = Boolean(0)
-            status = AudioObjectIsPropertySettable(deviceID, &address, &canSetVolumeBoolean)
+            var status = AudioObjectIsPropertySettable(deviceID, &address, &canSetVolumeBoolean)
 
             if noErr == status {
                 volumeInfo.canSetVolume = Bool(boolean: canSetVolumeBoolean)

                status = getPropertyData(address, andValue: &isPlayThruSetValue)

                if noErr == status {
                    volumeInfo.isPlayThruSet = isPlayThruSetValue == 1
                }
            }
        }


        if Bool(boolean: AudioObjectHasProperty(deviceID, &address)) {
            var canMuteBoolean = Boolean(0)
            var status = AudioObjectIsPropertySettable(deviceID, &address, &canMuteBoolean)

            if noErr == status {
                volumeInfo.canMute = Bool(boolean: canMuteBoolean)
