1 --- libmusicbrainz-5.1.0/src/xmlParser.cc.orig 2014-11-13 14:12:24.000000000 +0100
2 +++ libmusicbrainz-5.1.0/src/xmlParser.cc 2024-04-04 19:04:26.705610574 +0200
5 doc = xmlParseFile(filename.c_str());
6 if ((doc == NULL) && (results != NULL)) {
7 - xmlErrorPtr error = xmlGetLastError();
8 + const xmlErrorPtr error = xmlGetLastError();
9 results->message = error->message;
10 results->line = error->line;
11 results->code = error->code;
14 doc = xmlParseMemory(xml.c_str(), xml.length());
15 if ((doc == NULL) && (results != NULL)) {
16 - xmlErrorPtr error = xmlGetLastError();
17 + const xmlErrorPtr error = xmlGetLastError();
18 results->message = error->message;
19 results->line = error->line;
20 results->code = error->code;