summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-12-28 11:56:17 +0100
committerGravatar waker <wakeroid@gmail.com>2011-12-28 11:56:17 +0100
commit666ff55d1cf93e2e0d7092a0bb9f4ac402c6d636 (patch)
tree376a608ce82f1101c558e055e68c4a4c3f5fdf97
parentfbdef0fd004313fbb05769b6eaa17153033c1570 (diff)
fixed "return with no value" warning in lastfm.c
-rw-r--r--plugins/lastfm/lastfm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/lastfm/lastfm.c b/plugins/lastfm/lastfm.c
index 879de316..8ee7eb88 100644
--- a/plugins/lastfm/lastfm.c
+++ b/plugins/lastfm/lastfm.c
@@ -832,7 +832,7 @@ lfm_message (uint32_t id, uintptr_t ctx, uint32_t p1, uint32_t p2) {
static int
lastfm_start (void) {
if (lfm_mutex) {
- return;
+ return -1;
}
lfm_stopthread = 0;
lfm_mutex = deadbeef->mutex_create_nonrecursive ();