Address some compiler warnings.
- Add explicit casts from long to int. - Comment out method argument names that are unused. - Always initialize a boolean variable before it's read.
This commit is contained in:
parent
19bdf90eba
commit
49ad2b72a1
6 changed files with 9 additions and 9 deletions
|
|
@ -1813,7 +1813,7 @@ TFunction* TParseContext::handleConstructorCall(const TSourceLoc& loc, const TPu
|
|||
}
|
||||
|
||||
// Handle seeing a precision qualifier in the grammar.
|
||||
void TParseContext::handlePrecisionQualifier(const TSourceLoc& loc, TQualifier& qualifier, TPrecisionQualifier precision)
|
||||
void TParseContext::handlePrecisionQualifier(const TSourceLoc& /*loc*/, TQualifier& qualifier, TPrecisionQualifier precision)
|
||||
{
|
||||
if (obeyPrecisionQualifiers())
|
||||
qualifier.precision = precision;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue