input/curl, output/pulse: fix "unused local variable" warnings

This commit is contained in:
Max Kellermann 2011-09-16 07:41:07 +02:00
parent 344b6dd179
commit 1cbba4fc59
2 changed files with 3 additions and 2 deletions

View File

@ -177,7 +177,7 @@ buffer_free_callback(gpointer data, G_GNUC_UNUSED gpointer user_data)
assert(buffer->consumed <= buffer->size);
g_free(data);
g_free(buffer);
}
/**

View File

@ -72,7 +72,8 @@ pulse_output_set_mixer(struct pulse_output *po, struct pulse_mixer *pm)
}
void
pulse_output_clear_mixer(struct pulse_output *po, struct pulse_mixer *pm)
pulse_output_clear_mixer(struct pulse_output *po,
G_GNUC_UNUSED struct pulse_mixer *pm)
{
assert(po != NULL);
assert(pm != NULL);