Use 'nonneg' instead of 'unsigned' in checkautovariables

This commit is contained in:
Daniel Marjamäki 2019-07-15 13:33:29 +02:00
parent bafffa6cf2
commit 5175bda774
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ static bool isAddressOfLocalVariable(const Token *expr)
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
return false;