Fix compiler error in MinGW

This commit is contained in:
mjentsch 2015-11-21 16:31:15 +01:00
parent 602edc8b5f
commit e5e58d0c2f

View file

@ -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);
}
}