Skip to content
Commit 5d10d446 authored by Michael Pyne's avatar Michael Pyne
Browse files

Make static analyzer happy about uninit variables.

Coverity complains about an index being unset (CID 1356740). While I'm
pretty sure this is a false positive given the code path in question
there's no performance reason not to set the index here.

While I was at it, I also fixed a GCC warning about a separate
"potentially uninitialized" variable. Again seems to be a false positive
(unless an extract operation starts somehow already marked to abort) but
fixing anyways. I chose ARCHIVE_RETRY to hint to *not* abort the
operation if this does somehow make it into error path.
parent 5dff013d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment