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

Re: svn commit: r1470936 - in /subversion/trunk/subversion: include/svn_io.h libsvn_subr/stream.c libsvn_wc/adm_ops.c libsvn_wc/update_editor.c

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 24 Apr 2013 11:43:44 +0100

"Bert Huijben" <bert_at_qqmail.nl> writes:

> Well, explicitly not initializing variables is another way of adding
> undefined behavior.

You are suggesting that all heap variables be explicitly initialised to
zero before being initialised to the correct values. We don't do that
for stack variables, why is it so important to do it for heap variables?

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2013-04-24 12:44:47 CEST

This is an archived mail posted to the Subversion Dev mailing list.