From e5e58d0c2f7a4fc431d84ab0ad19e5ca72a4ec10 Mon Sep 17 00:00:00 2001 From: mjentsch Date: Sat, 21 Nov 2015 16:31:15 +0100 Subject: [PATCH] Fix compiler error in MinGW --- tgp-blist.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tgp-blist.c b/tgp-blist.c index 8847b3e..baf74d4 100644 --- a/tgp-blist.c +++ b/tgp-blist.c @@ -90,6 +90,8 @@ tgl_peer_id_t tgp_blist_buddy_get_id (PurpleBuddy *buddy) { return TGL_MK_ENCR_CHAT (id); } else { assert (FALSE); + // avoid compiler errors for missing return value + return TGL_MK_USER(0); } }