From: Tim Kientzle Date: Wed, 4 Feb 2009 17:51:25 +0000 (-0500) Subject: Initialize variables; fix a compile warning. X-Git-Tag: v2.7.0~350 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eaa9fca2a0e28f98989dfeead3eda674c26dd30f;p=thirdparty%2Flibarchive.git Initialize variables; fix a compile warning. SVN-Revision: 543 --- diff --git a/libarchive/archive_util.c b/libarchive/archive_util.c index 22b5699a4..efaebb677 100644 --- a/libarchive/archive_util.c +++ b/libarchive/archive_util.c @@ -237,6 +237,8 @@ __archive_parse_options(const char *p, const char *fn, int keysize, char *key, p_org = p; state = INIT; + kidx = vidx = negative = 0; + apply = 1; while (*p) { switch (state) { case INIT: