https://bugs.freedesktop.org/show_bug.cgi?id=70371
Priority: medium Bug ID: 70371 Assignee: libreoffice-bugs@lists.freedesktop.org Summary: Identify unused headers Severity: normal Classification: Unclassified OS: All Reporter: bjoern.michael...@canonical.com Hardware: Other Status: UNCONFIRMED Version: unspecified Component: Libreoffice Product: LibreOffice Now that we have gbuild and gbuild only it should be rather easy to identify unused C/C++ headers. For this, this EasyHack asks to create a script that: - concats and sorts all the filenames mentioned in workdir/unxlngx6.pro/Dep/CxxObject and workdir/unxlngx6.pro/Dep/CObject - runs a `git ls-tree HEAD -r --name-only` - and reports files in the second that are not in the first. This might still create some false positives because of e.g. platform dependant files, but it should be a good starting point: Obviously such headers if truly unused, should be removed from the repository tree. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs