Commit dc7f1488 authored by Ralph Giles's avatar Ralph Giles

ogg123: remove two unused variable warnings.

svn path=/trunk/vorbis-tools/; revision=19090
parent 8f237e5b
......@@ -42,15 +42,13 @@ audio_device_t *append_audio_device(audio_device_t *devices_list,
int driver_id,
ao_option *options, char *filename)
{
audio_device_t *head = devices_list;
if (devices_list != NULL) {
while (devices_list->next_device != NULL)
devices_list = devices_list->next_device;
devices_list = devices_list->next_device =
malloc(sizeof(audio_device_t));
} else {
head = devices_list = (audio_device_t *) malloc(sizeof(audio_device_t));
devices_list = (audio_device_t *) malloc(sizeof(audio_device_t));
}
devices_list->driver_id = driver_id;
devices_list->options = options;
......
......@@ -94,6 +94,7 @@ void buffer_thread_init (buf_t *buf)
void buffer_thread_cleanup (void *arg)
{
buf_t *buf = (buf_t *)arg;
(void)buf;
DEBUG("Enter buffer_thread_cleanup");
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment