# HG changeset patch # User Matti Hamalainen # Date 1560364258 -10800 # Node ID dc8a443accdf3c410a07e02c1eb4efd160dff432 # Parent 6ba6ca5632d2877127b1108a6a3181a27ef8f68c Simplify fmtDrazLaceGetLaceType() as the buffer can't be NULL. diff -r 6ba6ca5632d2 -r dc8a443accdf tools/lib64fmts.c --- a/tools/lib64fmts.c Wed Jun 12 21:30:09 2019 +0300 +++ b/tools/lib64fmts.c Wed Jun 12 21:30:58 2019 +0300 @@ -395,11 +395,7 @@ { (void) fmt; - if (buf != NULL) - img->laceType = buf->data[op->offs] ? D64_ILACE_RES : D64_ILACE_COLOR; - else - img->laceType = D64_ILACE_RES; - + img->laceType = buf->data[op->offs] ? D64_ILACE_RES : D64_ILACE_COLOR; return DMERR_OK; }