mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05: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:
parent
9dd441aa39
commit
722cb5fdc3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user