# HG changeset patch # User Matti Hamalainen # Date 1528212436 -10800 # Node ID 94329f6788413851ad57c946e4bcb283e7b0ebe8 # Parent 31a1f710e342b15911a19d78bdfacb680223a117 Explicitly initialize some DMGrowBuf fields for clarity, though they are already cleared previously by memset(). diff -r 31a1f710e342 -r 94329f678841 src/dmgrowbuf.c --- a/src/dmgrowbuf.c Tue Jun 05 18:26:30 2018 +0300 +++ b/src/dmgrowbuf.c Tue Jun 05 18:27:16 2018 +0300 @@ -43,6 +43,8 @@ buf->size = initial; buf->mingrow = mingrow; buf->allocated = FALSE; + buf->backwards = FALSE; + buf->is_const = FALSE; // Allocate the data if ((buf->data = dmMalloc0(initial)) == NULL)