ICU-5025 Fix an Intel compiler issue.

X-SVN-Rev: 19475
This commit is contained in:
George Rhoten 2006-03-30 01:18:26 +00:00
parent d77a2417e1
commit 1d6533d978

View File

@ -413,6 +413,7 @@ static void U_CALLCONV DataDrivenScanf(void)
break;
case 0x66: // 'f' float
expectedFlt = (float)atof(u_austrcpy(cBuffer, expectedResult));
flt = 0.0f; // Initialize to 0 in order to get around an Intel compiler issue.
uBufferLenReturned = u_sscanf_u(argument, format, &flt);
//uFileBufferLenReturned = u_fscanf_u(testFile, format, flt);
if (flt != expectedFlt) {