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

Re: [tortoisesvn] r22809 committed - Do early m_pViewData validity test

From: Oto BREZINA <otik_at_printflow.eu>
Date: Thu, 19 Apr 2012 08:51:21 +0200

BTW What is preffered test for empty(NULL) pointer ?
pViewData is tested in all ways:

negative tests - leave on no data

pViewData == NULL - my preffered
pViewData == 0
!pViewData

positive tests - execute if data
pViewData

-- 
Oto BREZINA
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2949750
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-04-19 08:52:10 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.