[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

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.
Dmitry.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2390925

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-09-04 07:59:15 CEST

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.