Skip to content

Commit

Permalink
Satisfy Codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
DanRStevens committed Mar 4, 2025
1 parent 0fbbdff commit cee2794
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions NAS2D/Xml/XmlParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ namespace
const char* str;
unsigned int strLength;
char chr;
char padding[3] = {};
char padding[3];
};

enum
Expand All @@ -88,11 +88,11 @@ namespace

Entity entity[NUM_ENTITY] =
{
{ "&", 5, '&' },
{ "&lt;", 4, '<' },
{ "&gt;", 4, '>' },
{ "&quot;", 6, '\"' },
{ "&apos;", 6, '\'' }
{ "&amp;", 5, '&', {} },
{ "&lt;", 4, '<', {} },
{ "&gt;", 4, '>', {} },
{ "&quot;", 6, '\"', {} },
{ "&apos;", 6, '\'', {} },
};
}

Expand Down

0 comments on commit cee2794

Please sign in to comment.