Refactoring: Removed 'possibleError'
This commit is contained in:
parent
d0e122079f
commit
4c6858fa9c
|
@ -101,8 +101,6 @@ protected:
|
|||
std::list<const Token *> callstack;
|
||||
if (tok)
|
||||
callstack.push_back(tok);
|
||||
else if (severity == Severity::possibleError)
|
||||
return; // don't list inconclusive checks in the --errorlist output
|
||||
reportError(callstack, severity, id, msg);
|
||||
}
|
||||
|
||||
|
|
|
@ -322,7 +322,7 @@ private:
|
|||
class Severity
|
||||
{
|
||||
public:
|
||||
enum e { error, style, possibleError };
|
||||
enum e { error, style };
|
||||
static std::string stringify(e severity)
|
||||
{
|
||||
switch (severity)
|
||||
|
@ -331,8 +331,6 @@ public:
|
|||
return "error";
|
||||
case style:
|
||||
return "style";
|
||||
case possibleError:
|
||||
return "possible error";
|
||||
};
|
||||
return "???";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue