Use 'nonneg' instead of 'unsigned' in checkautovariables
This commit is contained in:
parent
bafffa6cf2
commit
5175bda774
|
@ -184,7 +184,7 @@ static bool isAddressOfLocalVariable(const Token *expr)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool variableIsUsedInScope(const Token* start, unsigned int varId, const Scope *scope)
|
static bool variableIsUsedInScope(const Token* start, nonneg int varId, const Scope *scope)
|
||||||
{
|
{
|
||||||
if (!start) // Ticket #5024
|
if (!start) // Ticket #5024
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue