mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-06 05:34:59 +00:00
Comment change: exclude unreachable condition from coverage
This commit is contained in:
parent
19d0115623
commit
6fd7365bfb
1 changed files with 1 additions and 1 deletions
|
@ -1295,7 +1295,7 @@ XmlUtf8Encode(int c, char *buf)
|
|||
};
|
||||
|
||||
if (c < 0)
|
||||
return 0;
|
||||
return 0; /* LCOV_EXCL_LINE: this case is always eliminated beforehand */
|
||||
if (c < min2) {
|
||||
buf[0] = (char)(c | UTF8_cval1);
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue