Re: svn commit: samba r17645 - in branches/SAMBA_4_0/source/lib/talloc: .

2006-08-21 Thread Stefan (metze) Metzmacher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] schrieb: > Metze, > > > thanks! Can you merge that to talloc_reference() and all other places > > that uses that trick too. > > It's not needed for talloc_reference(). ah, ok! Your right so we really should get this warning as i

Re: svn commit: samba r17645 - in branches/SAMBA_4_0/source/lib/talloc: .

2006-08-20 Thread tridge
Metze, > thanks! Can you merge that to talloc_reference() and all other places > that uses that trick too. It's not needed for talloc_reference(). It's basically a bug (or mis-feature perhaps) in the gcc code that decides if a warning should be generated for constructing a value that is not use

Re: svn commit: samba r17645 - in branches/SAMBA_4_0/source/lib/talloc: .

2006-08-20 Thread Stefan (metze) Metzmacher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] schrieb: > Author: tridge > Date: 2006-08-21 01:27:22 + (Mon, 21 Aug 2006) > New Revision: 17645 > > WebSVN: > http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17645 > > Log: > > gcc 4.1.x has started produc

svn commit: samba r17645 - in branches/SAMBA_4_0/source/lib/talloc: .

2006-08-20 Thread tridge
Author: tridge Date: 2006-08-21 01:27:22 + (Mon, 21 Aug 2006) New Revision: 17645 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17645 Log: gcc 4.1.x has started producing "value computed is not used" warnings in very annoying ways for talloc_steal. This rather