Patch - suspicious casts, suboptimal code
From: Dmitry <wipedout_at_yandex.ru>
Date: Fri, 02 Sep 2011 11:29:46 +0400
Hey.
Attached are two untested patches.
One addresses suspicious casts - casts where a pointer size type is casted to a 32-bit integer and then is implicitly converted back to a pointer size type. Such casts make code highly non-portable to 64 bit. I'm not sure whether all of them are that bad, but most are.
Another one addresses minor issues like code duplication, repeating checks, hardcoded constants, unneeded deep copying.
Best wishes.
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.