[haiku-commits] Re: r40900 - haiku/trunk/src/kits/device

  • From: Stephan Aßmus <superstippi@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 10 Mar 2011 10:36:02 +0100

Am 10.03.2011 10:03, schrieb Axel Dörfler:
Also reset it to -1 in the destructor for symmetry.

FWIW, I think we shouldn't start doing these things, and I remove code like 
this when I come across it.

Yes. Unless this value is used in subsequent code that follows in the destructor, it makes absolutely no sense to do this, it's just bloat.

Best regards,

Other related posts: