[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Nbd] [PATCH 2/2] nbd-server: remove unused CFILE_ -error codes



On Mon, Dec 31, 2012 at 07:29:16PM +0200, Tuomas Jorma Juhani Räsänen wrote:
> On Mon, Dec 31, 2012 at 10:01:31AM +0100, Wouter Verhelst wrote:
> > NAK, sorry. The fact that these aren't used doesn't mean we need to
> > remove them, it means we may need to add checks -- unless you have a
> > good argument why they don't make sense?
> > 
> 
> No problem. I think it's a matter of taste. I am used to keeping
> source code free of unreferenced code.

Okay.

I do agree with that in the general situation; unreferenced functions,
for instance, indeed do not have a place in well-maintained code.

Just not in this particular instance;

> But I can see your point in keeping these hanging around, as
> reminders, until the corresponding test is implemented.

Exactly.

[...]
-- 
Copyshops should do vouchers. So that next time some bureaucracy requires you
to mail a form in triplicate, you can mail it just once, add a voucher, and
save on postage.



Reply to: