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

Re: svn commit: r1469520 - /subversion/trunk/subversion/libsvn_fs_fs/tree.c

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 19 Apr 2013 17:09:37 +0100

Julian Foad <julianfoad_at_btopenworld.com> writes:

> I don't think Daniel's assertion made things clearer.  Here's my code
> rearrangement suggestion, moving the 'directory' variable into a
> smaller scope and avoiding it ever being uninitialized:

Second guessing the optimizer is hard:

../src/subversion/libsvn_fs_fs/tree.c:955:13: warning: 'rest' may be used uninitialized in this function [-Wmaybe-uninitialized]

Certified & Supported Apache Subversion Downloads:
Received on 2013-04-19 18:10:36 CEST

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