Mercurial > hg > dmlib
changeset 2526:4deb8da6c901
Initialize result variable.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 15 May 2020 07:46:14 +0300 |
parents | 19b0ca169361 |
children | e9a6b5fb473b |
files | tools/lib64fmts.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/lib64fmts.c Fri May 15 07:44:12 2020 +0300 +++ b/tools/lib64fmts.c Fri May 15 07:46:14 2020 +0300 @@ -344,7 +344,7 @@ static int fmtEncodeSupeRes(DMGrowBuf *buf, const DMC64Image *img, const DMC64ImageFormat *fmt) { DMSupeResEncCtx ctx; - BOOL bres; + BOOL bres = FALSE; // Output magic header and data type if (!dmGrowBufPut(buf, fmtSupeRes_MagicID_1, sizeof(fmtSupeRes_MagicID_1)) ||