Re: [Wireshark-dev] Script used to automatically delete unused #includes

2015-02-09 Thread Martin Mathieson
I will try to get it into a state where it will at least run under Windows or an Ubuntu VM and check it in with a licence header and warnings... Martin On Sun, Feb 8, 2015 at 6:01 PM, Alexis La Goutte wrote: > > > On Mon, Jan 5, 2015 at 12:56 AM, Martin Mathieson < > martin.r.mathie...@googlema

Re: [Wireshark-dev] Script used to automatically delete unused #includes

2015-02-08 Thread Alexis La Goutte
On Mon, Jan 5, 2015 at 12:56 AM, Martin Mathieson < martin.r.mathie...@googlemail.com> wrote: > Hi, > > I have attached the script that I used over the past week or 2 to detect > and delete unneeded #includes. I am not sure whether it is fit for > submitting to the tools folder in its current sta

[Wireshark-dev] Script used to automatically delete unused #includes

2015-01-04 Thread Martin Mathieson
Hi, I have attached the script that I used over the past week or 2 to detect and delete unneeded #includes. I am not sure whether it is fit for submitting to the tools folder in its current state. By my count it deleted > 1400 #includes, although: - not all source files were scanned (e.g. plugin