small cleanups

resample: remove unused index variable
This commit is contained in:
Wim Taymans 2019-07-08 18:23:22 +02:00
parent 98d10bbd1f
commit 0154e6eaac
6 changed files with 12 additions and 16 deletions

View file

@ -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;
}