Visitar URL original
#13906 (file location in error is not always simplified) – Cppcheck

Opened 17 months ago

Closed 17 months ago

Last modified 16 months ago

#13906 closed defect (fixed)

file location in error is not always simplified

Reported by: kidkat Owned by: kidkat
Priority: safety-cosmetic Milestone: 2.18
Component: Other Version:
Keywords: Cc:

Description (last modified by kidkat)

ErrorLogger::FileLocation is only simplifying the file when set via setfile() but not via the constructors.

Spotted during development and also encountered with ​https://github.com/danmar/cppcheck/pull/7079 in test/cli/whole-program_test.py::test_nullpointer_file0 on Windows only.

Change History (3)

comment:1 by kidkat, 17 months ago

Description: modified (diff)

comment:2 by kidkat, 17 months ago

Milestone: → 2.18
Resolution: → fixed
Status: assigned → closed

comment:3 by Daniel Marjamäki, 16 months ago

Priority: Normal → safety-cosmetic
Note: See TracTickets for help on using tickets.