Patch from Julian Foad:
Initialise a "possibly uninitialised" variable (which was already functionally correct). [Note from DPM: this patch will be blown away if we ever update to a newer version of Expat.]
This commit is contained in:
parent
2253b82304
commit
b201383a80
@ -1391,7 +1391,7 @@ int PREFIX(getAtts)(const ENCODING *enc, const char *ptr,
|
||||
{
|
||||
enum { other, inName, inValue } state = inName;
|
||||
int nAtts = 0;
|
||||
int open;
|
||||
int open = 0;
|
||||
|
||||
for (ptr += MINBPC(enc);; ptr += MINBPC(enc)) {
|
||||
switch (BYTE_TYPE(enc, ptr)) {
|
||||
|
Loading…
Reference in New Issue
Block a user