diff options
author | Taylor Holberton <taylorcholberton@gmail.com> | 2018-05-08 19:44:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-08 19:44:27 -0400 |
commit | 67b9210d344c34e8d1aa0cfe638abce71c5221ca (patch) | |
tree | 7b6f8e046a18360fb9adaa4485a16a15d438c5c7 /src | |
parent | ab216f5225024cfeb3558a89a94bc15465046095 (diff) | |
parent | f8f7ef29b2095621263c748efd7570091d8dcc51 (diff) |
Merge pull request #112 from charleskeepax/master
Minor tweaks to enum controls
Diffstat (limited to 'src')
-rw-r--r-- | src/mixer.c | 2 |
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; |