Fixed #2309 (cppcheck-suppress issue because of path slash/backslash)

Internally we are using forward-slash and only convert to backslash
for Windows output. For suppressing we must use internal
forward-slash format of paths.
This commit is contained in:
Kimmo Varis 2010-12-15 22:39:46 +02:00
parent 5ac9a7eaa7
commit ac8eb30d68
1 changed files with 1 additions and 1 deletions

View File

@ -391,7 +391,7 @@ void CppCheck::reportErr(const ErrorLogger::ErrorMessage &msg)
unsigned int line(0);
if (!msg._callStack.empty())
{
file = msg._callStack.back().getfile();
file = msg._callStack.back().getfile(false);
line = msg._callStack.back().line;
}