Re: [PATCH 3/9] Add memory pool library
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Jun 24, 2010, 20:20 UTC
- Message-ID
- <AANLkTimeWwsodoVK-9Yx65MBOk0IhgxxVgAjGpIuHUE7@mail.gmail.com>
- In-Reply-To
- <20100624200641.GA2209@burratino>
Hi again,
Jonathan Nieder wrote:
Show 5 quoted lines
> Thanks for this list. Do you think it’s worth automating its > production? i.e., a masochistic person could write a script to > compile with the __attribute__((unused)) suppressed, parse warnings to > find unused functions, and then take an intersection of sets to > confirm that no family of functions is unused.
Er, I think that's a bit of an overkill :p Someone editing the code can always suppress MAYBE_UNUSED and check with our list of unused functions in the comment by hand.
-- Ram