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

Re: subversion/libsvn_client/commit_util.c compile warning

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2002-08-03 00:46:33 CEST

On Fri, Aug 02, 2002 at 03:36:44PM -0700, Blair Zajac wrote:
> Karl Fogel wrote:
> >
> > Blair Zajac <blair@orcaware.com> writes:
> > > Call me Mr. "might be used uninitialized".
> > >
> > > subversion/libsvn_client/commit_util.c: In function `do_item_commit':
> > > subversion/libsvn_client/commit_util.c:750: warning: `path' might be
> > > used uninitialized in this function
> >
> > Thanks -- fixed in rev 2866.
> >
> > /me wonders what is *up* with our compilers not catching this stuff.
> > The last time that function was touched was in revision 2578, for
> > crying out loud...
>
> Maybe it's the compiler. I'm using gcc 3.1.1.
>
> Could also be the volume of messages from running make and people not
> paying attention.

i think it's the compiler, cause the last time you caught this in my
change i went back and checked, and i didn't see any warning on my
FreeBSD box with gcc 2.95.4. i guess gcc 3.1.1 just has better warnings.

-garrett

-- 
garrett rooney                    Remember, any design flaw you're 
rooneg@electricjellyfish.net      sufficiently snide about becomes  
http://electricjellyfish.net/     a feature.       -- Dan Sugalski
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Aug 3 00:47:05 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.