about summary refs log tree commit diff stats
path: root/src/omemo
diff options
context:
space:
mode:
Diffstat (limited to 'src/omemo')
-rw-r--r--src/omemo/omemo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/omemo/omemo.c b/src/omemo/omemo.c
index f82ad164..879a237a 100644
--- a/src/omemo/omemo.c
+++ b/src/omemo/omemo.c
@@ -389,7 +389,7 @@ omemo_start_sessions(void)
 {
     GSList *contacts = roster_get_contacts(ROSTER_ORD_NAME);
     if (contacts) {
-        GSList *curr = contacts;
+        GSList *curr;
         for (curr = contacts; curr != NULL; curr = g_slist_next(curr)){
             PContact contact = curr->data;
             const char *jid = p_contact_barejid(contact);