Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compile warning #28

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

stefansundin
Copy link

Fixes this compilation warning:

/Users/user/macos-audio-devices/Sources/audio-devices/main.swift:268:9: warning: variable 'device' was never mutated; consider changing to 'let' constant
    var device = try getDevice(deviceId: deviceId)
    ~~~ ^
    let

Also adds .DS_Store to .gitignore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant