Fixed compiler warnings.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@1032 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
@@ -1287,9 +1287,9 @@ RCODE F_ArgSet::parseCommandLine(
|
||||
{
|
||||
pszStr = pArg->getValue( uiArgs);
|
||||
|
||||
if( !(bValidated = pArg->getValidator()( pszStr,
|
||||
if( (bValidated = pArg->getValidator()( pszStr,
|
||||
pArg->getIdentifier(), &errorAcc,
|
||||
pArg->getValidatorData())))
|
||||
pArg->getValidatorData())) == FALSE)
|
||||
{
|
||||
break;
|
||||
}
|
||||
@@ -1305,7 +1305,7 @@ RCODE F_ArgSet::parseCommandLine(
|
||||
{
|
||||
pszStr = pArg->getValue( uiArgs);
|
||||
|
||||
if( !(bValidated = f_isNumber( pszStr, &bNegative)))
|
||||
if( (bValidated = f_isNumber( pszStr, &bNegative)) == FALSE)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user