Fix compiler error in MinGW
This commit is contained in:
parent
602edc8b5f
commit
e5e58d0c2f
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue