aboutsummaryrefslogtreecommitdiffstats
path: root/src/message.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-12-20 17:11:39 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-12-20 17:11:39 +0300
commitea1da6a43cf4f6bfcc23722a05baaae203a00db4 (patch)
tree1bbc911a153e4968d9e14f98f74f1de195c2bc49 /src/message.c
parent9e611e033cfc40aab58805d8e485f892352750c6 (diff)
downloadrspamd-ea1da6a43cf4f6bfcc23722a05baaae203a00db4.tar.gz
rspamd-ea1da6a43cf4f6bfcc23722a05baaae203a00db4.zip
Make compiler happy in several cases, remove warnings.
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/message.c b/src/message.c
index 19d56f7df..bf955ae94 100644
--- a/src/message.c
+++ b/src/message.c
@@ -470,9 +470,9 @@ parse_recv_header (memory_pool_t * pool, gchar *line, struct received_header *r)
static void
process_raw_headers (struct worker_task *task)
{
- struct raw_header *new, *lp;
+ struct raw_header *new = NULL, *lp;
gchar *p, *c, *tmp, *tp;
- gint state = 0, l, next_state, err_state, t_state;
+ gint state = 0, l, next_state = 100, err_state = 100, t_state;
gboolean valid_folding = FALSE;
p = task->raw_headers_str;