summaryrefslogtreecommitdiff
path: root/libarchive/archive_util.c
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@gmail.com>2009-02-04 12:51:25 -0500
committerTim Kientzle <kientzle@gmail.com>2009-02-04 12:51:25 -0500
commiteaa9fca2a0e28f98989dfeead3eda674c26dd30f (patch)
treefeaf9e60d0c8c0a40ac4524d5d4d1534034f9b9a /libarchive/archive_util.c
parent7ba922472eac7402046c2d646163e162214578d9 (diff)
downloadlibarchive-eaa9fca2a0e28f98989dfeead3eda674c26dd30f.tar.gz
Initialize variables; fix a compile warning.
SVN-Revision: 543
Diffstat (limited to 'libarchive/archive_util.c')
-rw-r--r--libarchive/archive_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libarchive/archive_util.c b/libarchive/archive_util.c
index 22b5699a..efaebb67 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: