diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-04-29 11:32:22 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-04-29 11:32:22 +0200 |
commit | 722cb5fdc3ced8b76b58992326c8761227240202 (patch) | |
tree | ef69925cfbd09952fd4ca5414fdc1e39bb49846d /src | |
parent | 9dd441aa390f5abd8ed998af8b5d3f76fe2be90d (diff) | |
download | profani-tty-722cb5fdc3ced8b76b58992326c8761227240202.tar.gz |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/omemo/omemo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/omemo/omemo.c b/src/omemo/omemo.c index e74abe9d..1cf97adb 100644 --- a/src/omemo/omemo.c +++ b/src/omemo/omemo.c @@ -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; |