Fix garbag return value which Clang Static Analyser pointed out.

This commit is contained in:
Michihiro NAKAJIMA committed 2014-07-06 11:49:41 +09:00
1 parent 30b0c5fe87
commit 96f3876ef4
1 file changed
+1 -1
+1 -1
View File
@@ -454,7 +454,7 @@ archive_read_open1(struct archive *_a)
{
struct archive_read *a = (struct archive_read *)_a;
struct archive_read_filter *filter, *tmp;
int slot, e;
int slot, e = ARCHIVE_OK;
unsigned int i;
archive_check_magic(_a, ARCHIVE_READ_MAGIC, ARCHIVE_STATE_NEW,