mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
small cleanups
resample: remove unused index variable
This commit is contained in:
parent
98d10bbd1f
commit
0154e6eaac
6 changed files with 12 additions and 16 deletions
|
|
@ -182,8 +182,8 @@ execute_command_module_load(struct pw_command *command, struct pw_core *core, ch
|
|||
|
||||
module = pw_module_load(core, command->args[1], command->args[2], NULL, NULL, NULL);
|
||||
if (module == NULL) {
|
||||
asprintf(err, "could not load module \"%s\"", command->args[1]);
|
||||
return -ENOMEM;
|
||||
asprintf(err, "could not load module \"%s\": %m", command->args[1]);
|
||||
return -errno;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue