about summary refs log tree commit diff stats
path: root/src/omemo
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-07-22 14:27:14 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-07-22 14:27:14 +0200
commite540ccd50ee8d8b1a8e58049caa35bdb0e9da74f (patch)
tree47e00a0c51c9ea6467ae6580847ab463fc8ffe07 /src/omemo
parent137d128af27b5d37e7c5cd5f88d1cbcb9889e446 (diff)
downloadprofani-tty-e540ccd50ee8d8b1a8e58049caa35bdb0e9da74f.tar.gz
Remove dead assignments
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);