Commit 488c1eb8 authored by Max Kellermann's avatar Max Kellermann

test/test_queue_priority: fix SIGABRT

parent e8df7e8d
......@@ -1351,7 +1351,6 @@ test_test_pcm_LDADD = \
test_test_queue_priority_SOURCES = \
src/queue.c \
test/FakeSong.cxx \
test/test_queue_priority.c
test_test_queue_priority_LDADD = \
$(GLIB_LIBS)
......
#include "config.h"
#include "queue.h"
#include "song.h"
#include "directory.h"
struct directory detached_root;
struct song *
song_dup_detached(const struct song *src)
{
union {
const struct song *in;
struct song *out;
} u = { .in = src };
return u.out;
}
void
song_free(G_GNUC_UNUSED struct song *song)
......
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