mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-10624 Fix windows build error introduced with earlier compile warning fix.
X-SVN-Rev: 34859
This commit is contained in:
parent
1ebcd33989
commit
2b6a24aebc
1 changed files with 5 additions and 2 deletions
|
@ -837,8 +837,11 @@ static void TestConvert()
|
|||
|
||||
|
||||
/*Reads the BOM*/
|
||||
size_t numRead = fread(&BOM, sizeof(UChar), 1, ucs_file_in);
|
||||
(void)numRead;
|
||||
{
|
||||
// Note: gcc produces a compile warning if the return value from fread() is ignored.
|
||||
size_t numRead = fread(&BOM, sizeof(UChar), 1, ucs_file_in);
|
||||
(void)numRead;
|
||||
}
|
||||
if (BOM!=0xFEFF && BOM!=0xFFFE)
|
||||
{
|
||||
log_err("File Missing BOM...Bailing!\n");
|
||||
|
|
Loading…
Add table
Reference in a new issue