1. Christian Heimes
  2. defusedexpat

Commits

Christian Heimes  committed ade1101

Windows needs assignment after local var declarations

  • Participants
  • Parent commits 61d8d96
  • Branches default

Comments (0)

Files changed (1)

File expat/xmlparse.c

View file
  • Ignore whitespace
 {
   /* save one level of indirection */
   DTD * const dtd = _dtd;
+  const char **eventPP;
+  const char **eventEndPP;
 
 #ifdef XML_BOMB_PROTECTION
   if (haveMore) {
   }
 #endif
 
-  const char **eventPP;
-  const char **eventEndPP;
   if (enc == encoding) {
     eventPP = &eventPtr;
     eventEndPP = &eventEndPtr;