diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-12-20 17:11:39 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-12-20 17:11:39 +0300 |
commit | ea1da6a43cf4f6bfcc23722a05baaae203a00db4 (patch) | |
tree | 1bbc911a153e4968d9e14f98f74f1de195c2bc49 /src/diff.c | |
parent | 9e611e033cfc40aab58805d8e485f892352750c6 (diff) | |
download | rspamd-ea1da6a43cf4f6bfcc23722a05baaae203a00db4.tar.gz rspamd-ea1da6a43cf4f6bfcc23722a05baaae203a00db4.zip |
Make compiler happy in several cases, remove warnings.
Diffstat (limited to 'src/diff.c')
-rw-r--r-- | src/diff.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/diff.c b/src/diff.c index 56f4498ca..f7606cb04 100644 --- a/src/diff.c +++ b/src/diff.c @@ -225,7 +225,12 @@ static gint _ses(const void *a, gint aoff, gint n, const void *b, gint boff, gint m, struct _ctx *ctx) { - struct middle_snake ms; + struct middle_snake ms = { + .x = 0, + .y = 0, + .u = 0, + .v = 0 + }; gint d; if (n == 0) { |