From: Jonathan Nieder Date: Wed, 27 Jul 2011 15:56:54 GMT Subject: Re: [PATCH 11/18] revert: Save data for continuing after conflict resolution Message-ID: <20110727155654.GB29924@elie> In-Reply-To: Ramkumar Ramachandra wrote: > Junio complained about the warnings here [1], so I added MAYBE_UNUSED > to suppress them temporarily. Would you really like to see > read_populate_todo and read_populate_opts being introduced MUCH later > in the '--continue' patch? > > [1]: http://thread.gmane.org/gmane.comp.version-control.git/176899 Hmm. Yes, I suppose I would. But as usual, what is relevant is not what I would like but what leads to clear, functional, and maintainable code. It is from that point of view that the MAYBE_UNUSED is most problematic --- it suppresses a useful and true hint when compiling that the codebase implements some functionality that has no user. For example, the warning would be triggered if the function gets renamed and added again and this old version is forgotten.