utf8.c: Remove redundant unlikely branches
authorKarl Williamson <public@khwilliamson.com>
Tue, 30 Oct 2012 16:15:38 +0000 (10:15 -0600)
committerKarl Williamson <public@khwilliamson.com>
Sun, 11 Nov 2012 18:50:11 +0000 (11:50 -0700)
commit1045c414b4d7fd97b9ed116dcd62f79eb087dbd9
tree7d012d5b0f572aabce552ba7af18a2a08589870e
parentbde9e88d4f9dd5fc838744a75cfc6b9c1a2cfd82
utf8.c: Remove redundant unlikely branches

The 2 lines removed in each function provide an early exit if the input
is malformed UTF-8.  Other code executed later makes the same test.
But most inputs are going to be well-formed, so the test will almost
always fail, so will slow things up.
utf8.c