src/import-yum.c
changeset 449 f3baf790a815
parent 438 fab0b8a61dcb
child 455 df914f383f5c
     1.1 --- a/src/import-yum.c	Wed Aug 20 18:57:52 2014 +0100
     1.2 +++ b/src/import-yum.c	Tue Sep 30 16:19:55 2014 +0100
     1.3 @@ -287,7 +287,7 @@
     1.4  {
     1.5  	struct yum_context ctx={0};
     1.6  	void *buf;
     1.7 -	int len, ret;
     1.8 +	int len;
     1.9  	gzFile primary, filelists;
    1.10  	XML_ParsingStatus status;
    1.11  
    1.12 @@ -325,7 +325,7 @@
    1.13  		XML_GetParsingStatus(ctx.current_parser, &status);
    1.14  		switch (status.parsing) {
    1.15  		case XML_SUSPENDED:
    1.16 -			ret = XML_ResumeParser(ctx.current_parser);
    1.17 +			XML_ResumeParser(ctx.current_parser);
    1.18  			break;
    1.19  		case XML_PARSING:
    1.20  		case XML_INITIALIZED: