]> source.dussan.org Git - rspamd.git/commitdiff
Silent warnings.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 6 Jan 2015 14:50:12 +0000 (14:50 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 6 Jan 2015 14:50:12 +0000 (14:50 +0000)
src/libutil/upstream.c

index bd7f84066b6cf93e394f6407fcedaa6a857f864a..36aa94c6161e0ae3addd7040fceb4db1fb5d46e7 100644 (file)
@@ -688,4 +688,7 @@ rspamd_upstream_get (struct upstream_list *ups,
 
                return g_ptr_array_index (ups->alive, ups->cur_elt ++);
        }
+
+       /* Silent stupid compilers */
+       return NULL;
 }