summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/lzmadecode.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/lzmadecode.c b/src/lib/lzmadecode.c
index 6d21f6c3b9..0a5d038638 100644
--- a/src/lib/lzmadecode.c
+++ b/src/lib/lzmadecode.c
@@ -422,6 +422,10 @@ int LzmaDecode(CLzmaDecoderState *vs,
}
}
RC_NORMALIZE;
+ /*
+ * Tell static analysis we know len can have a dead assignment.
+ */
+ (void)len;
*inSizeProcessed = (SizeT)(Buffer - inStream);