diff options
author | Tim Kientzle <kientzle@gmail.com> | 2009-02-04 12:51:25 -0500 |
---|---|---|
committer | Tim Kientzle <kientzle@gmail.com> | 2009-02-04 12:51:25 -0500 |
commit | eaa9fca2a0e28f98989dfeead3eda674c26dd30f (patch) | |
tree | feaf9e60d0c8c0a40ac4524d5d4d1534034f9b9a /libarchive/archive_util.c | |
parent | 7ba922472eac7402046c2d646163e162214578d9 (diff) | |
download | libarchive-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.c | 2 |
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: |