aboutsummaryrefslogtreecommitdiffstats
path: root/src/diff.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/diff.c')
-rw-r--r--src/diff.c7
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) {