about summary refs log tree commit diff stats
path: root/src/otr
diff options
context:
space:
mode:
Diffstat (limited to 'src/otr')
-rw-r--r--src/otr/otr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/otr/otr.c b/src/otr/otr.c
index 32109cf2..90d2fbd8 100644
--- a/src/otr/otr.c
+++ b/src/otr/otr.c
@@ -692,7 +692,7 @@ otr_get_policy(const char *const recipient)
 
     // check default account setting
     if (account->otr_policy) {
-        prof_otrpolicy_t result;
+        prof_otrpolicy_t result = PROF_OTRPOLICY_MANUAL;
         if (g_strcmp0(account->otr_policy, "manual") == 0) {
             result = PROF_OTRPOLICY_MANUAL;
         }