Silenced a compiler warning for possibly uninitialized pointer

Some compilers issue a warning when a pointer is initialized in
both alternatives of a condition. Force an extra initialization
to avoid such warnings.
This commit is contained in:
Jean-Pierre André 2016-02-15 12:07:28 +01:00
parent 941ec4762f
commit 4f6fb651c2

View File

@ -1090,6 +1090,7 @@ static const struct BUFFER *findprevious(CONTEXT *ctx, const struct BUFFER *buf)
error = FALSE;
prevblk = buf->num;
prevbuf = (struct BUFFER*)NULL;
skipped = 0;
do {
prevmiddle = FALSE;