Skip to content

Commit

Permalink
Removed condition always evaluated to true.
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuhiro-t committed Mar 29, 2011
1 parent 4ee610f commit aabb1f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/json.cc
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ decodeString
s += c2;
s += c3;
s += c4;
} else if(codepoint <= 0xffffu) {
} else {
unsigned char c3 = 0x80u | (codepoint & 0x003Fu);
unsigned char c2 = 0x80u | ((codepoint >> 6) & 0x003Fu);
unsigned char c1 = 0xE0u | (codepoint >> 12);
Expand Down

0 comments on commit aabb1f9

Please sign in to comment.