From 01476b337bee5ee97b296c13404618bc341e9093 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Fri, 13 Aug 2021 11:26:10 +1000 Subject: [PATCH] Fix another value is never read warning --- src/intern/dwgutil.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/intern/dwgutil.cpp b/src/intern/dwgutil.cpp index cd0a92e..847b987 100644 --- a/src/intern/dwgutil.cpp +++ b/src/intern/dwgutil.cpp @@ -174,8 +174,6 @@ void dwgCompressor::decompress18(duint8 *cbuf, duint8 *dbuf, duint32 csize, duin compOffset = twoByteOffset(&litCount); if (litCount == 0) litCount= litLength18(); - else - oc = 0x00; } else if (oc > 0x20 && oc< 0x40){ compBytes = oc - 0x1E; compOffset = twoByteOffset(&litCount);