Travis: Suppress false positive
This commit is contained in:
parent
2d1c47b474
commit
cc82288ff6
|
@ -8,6 +8,7 @@ passedByValue:lib/library.h
|
|||
knownConditionTrueFalse:lib/platform.cpp
|
||||
knownConditionTrueFalse:build/*
|
||||
nullPointer:lib/checkother.cpp
|
||||
nullPointer:build/checkother.cpp
|
||||
|
||||
*:gui/test*
|
||||
*:test/test.cxx
|
||||
|
|
|
@ -924,9 +924,10 @@ const Library::Container* Library::detectContainer(const Token* typeStart, bool
|
|||
// returns true if ftok is not a library function
|
||||
bool Library::isNotLibraryFunction(const Token *ftok) const
|
||||
{
|
||||
/*
|
||||
if (ftok->function() && ftok->function()->nestedIn && ftok->function()->nestedIn->type != Scope::eGlobal)
|
||||
return true;
|
||||
|
||||
*/
|
||||
// variables are not library functions.
|
||||
if (ftok->varId())
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue