pulse-server: remove some warnings

This commit is contained in:
Wim Taymans 2023-05-04 19:11:21 +02:00
parent b13e9f7a8d
commit 2be49838d0
4 changed files with 1 additions and 6 deletions

View file

@ -47,13 +47,10 @@ static const struct pw_impl_module_events module_events = {
static int module_echo_cancel_load(struct module *module)
{
struct pw_properties * const props = module->props;
struct module_echo_cancel_data *data = module->user_data;
const char *method;
FILE *f;
char *args;
size_t size;
uint32_t i;
if ((f = open_memstream(&args, &size)) == NULL)
return -errno;

View file

@ -45,7 +45,7 @@ static int module_loopback_load(struct module *module)
struct module_loopback_data *data = module->user_data;
FILE *f;
char *args;
size_t size, i;
size_t size;
pw_properties_setf(data->capture_props, PW_KEY_NODE_GROUP, "loopback-%u", module->index);
pw_properties_setf(data->playback_props, PW_KEY_NODE_GROUP, "loopback-%u", module->index);

View file

@ -143,7 +143,6 @@ static int module_null_sink_prepare(struct module * const module)
struct pw_properties * const props = module->props;
const char *str;
struct spa_audio_info_raw info = { 0 };
uint32_t i;
PW_LOG_TOPIC_INIT(mod_topic);

View file

@ -59,7 +59,6 @@ static int module_rtp_send_load(struct module *module)
FILE *f;
char *args;
size_t size;
uint32_t i;
pw_properties_setf(data->stream_props, "pulse.module.id",
"%u", module->index);