Solvable *s = pd->solvable;
Id evr;
unsigned int t = 0;
+ const char *flavor;
if (pd->depth != pd->statedepth)
{
pd->freshens = 0;
/* see bugzilla bnc#190163 */
- const char *flavor = findKernelFlavor(pd, s);
+ flavor = findKernelFlavor(pd, s);
if (flavor)
{
char *cflavor = solv_strdup(flavor); /* make pointer safe */
int i, l;
struct stateswitch *sw;
unsigned int now;
+ XML_Parser parser;
now = solv_timems(0);
data = repo_add_repodata(repo, flags);
// set up XML parser
- XML_Parser parser = XML_ParserCreate(NULL);
+ parser = XML_ParserCreate(NULL);
XML_SetUserData(parser, &pd); /* make parserdata available to XML callbacks */
XML_SetElementHandler(parser, startElement, endElement);
XML_SetCharacterDataHandler(parser, characterData);