aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTaylor Holberton <taylorcholberton@gmail.com>2018-05-08 19:44:27 -0400
committerGitHub <noreply@github.com>2018-05-08 19:44:27 -0400
commit67b9210d344c34e8d1aa0cfe638abce71c5221ca (patch)
tree7b6f8e046a18360fb9adaa4485a16a15d438c5c7 /src
parentab216f5225024cfeb3558a89a94bc15465046095 (diff)
parentf8f7ef29b2095621263c748efd7570091d8dcc51 (diff)
Merge pull request #112 from charleskeepax/master
Minor tweaks to enum controls
Diffstat (limited to 'src')
-rw-r--r--src/mixer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mixer.c b/src/mixer.c
index d07797a..a9cc483 100644
--- a/src/mixer.c
+++ b/src/mixer.c
@@ -637,7 +637,7 @@ int mixer_ctl_get_array(const struct mixer_ctl *ctl, void *array, size_t count)
void *source;
size_t total_count;
- if ((!ctl) || !count || !array)
+ if (!ctl || !count || !array)
return -EINVAL;
total_count = ctl->info.count;