Re: Patch: reducing amount of duplicate code
From: Dmitry <wipedout_at_yandex.ru>
Date: Fri, 04 Sep 2009 09:54:36 +0400
Hey.
More of the same. Now factoring out the code for showing an error message. Later I'll invent something object-oriented so that there's no more need in calling FormatMessage() with 6 lines of parameters noone cares of.
Btw in the previous patch the whole point was that the helper class zeroed out the PROCESS_INFORMATION, so the caller code has no need to do it. Removed unnecessary memset() calls in the caller code.
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.