1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-10-06 20:03:46 -04:00

OMEMO: Initialize result in omemo_automatic_start

This is actually not needed because result will always be set.

hartmann had problems building profanity on OpenBSD and he proposed this
patch.

Let's use it to make the compiler happy there.
This commit is contained in:
Michael Vetter 2019-04-29 11:32:22 +02:00
parent 9dd441aa39
commit 722cb5fdc3

View File

@ -1190,7 +1190,7 @@ omemo_fingerprint_autocomplete_reset(void)
gboolean
omemo_automatic_start(const char *const recipient)
{
gboolean result;
gboolean result = FALSE;
char *account_name = session_get_account_name();
ProfAccount *account = accounts_get_account(account_name);
prof_omemopolicy_t policy;