1
0
Fork 0

fixed compile warning

This commit is contained in:
Jan Steemann 2014-07-05 16:41:48 +02:00
parent 750f4cb847
commit e4e879db9f
1 changed files with 10 additions and 2 deletions

View File

@ -868,11 +868,14 @@ bool TRI_ConvertParameterFunctionAql (const TRI_aql_function_t* const function,
}
foundArg = false;
break;
case 'h':
if (i == checkArg) {
return true;
}
// break intentionally missing
foundArg = true;
break;
default:
foundArg = true;
}
@ -961,7 +964,12 @@ bool TRI_ValidateArgsFunctionAql (TRI_aql_context_t* const context,
case '.': // any type except collections
allowed._list = true;
allowed._array = true;
// break intentionally missing!!
allowed._null = true;
allowed._bool = true;
allowed._number = true;
allowed._string = true;
foundArg = true;
break;
case 'p': // primitive types
allowed._null = true;
allowed._bool = true;