Remove redundant check in parseJSONString

This commit is contained in:
Nikola Knezevic 2020-01-06 16:30:56 +01:00
parent bc22a7ee6a
commit cb2d348d48

View file

@ -22,7 +22,6 @@ static string parseJSONString(const char * & s)
if (*s == '"') res += '"';
else if (*s == '\\') res += '\\';
else if (*s == '/') res += '/';
else if (*s == '/') res += '/';
else if (*s == 'b') res += '\b';
else if (*s == 'f') res += '\f';
else if (*s == 'n') res += '\n';