]> granicus.if.org Git - neomutt/commitdiff
fix build warning
authorRichard Russon <rich@flatcap.org>
Sun, 22 May 2016 15:15:22 +0000 (16:15 +0100)
committerRichard Russon <rich@flatcap.org>
Sun, 22 May 2016 15:15:22 +0000 (16:15 +0100)
sort.c

diff --git a/sort.c b/sort.c
index e27c35016518381c29742ab06051810877794b69..4136545e070376f41001b0301899f9bfe47a9dd0 100644 (file)
--- a/sort.c
+++ b/sort.c
@@ -214,7 +214,7 @@ int compare_label (const void *a, const void *b)
 {
   HEADER **ppa = (HEADER **) a;
   HEADER **ppb = (HEADER **) b;
-  int     ahas, bhas, result;
+  int     ahas, bhas, result = 0;
   LIST *la, *lb;
 
   /* As with compare_spam, not all messages will have the x-label