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

Am 10.03.2011 10:03, schrieb Axel Dörfler:
stefano.ceccherini@xxxxxxxxx:
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,
-Stephan

Other related posts: