CVS update: samba/source/sam

Tim Potter tpot at samba.org
Fri Oct 31 10:40:19 GMT 2003


On Fri, Oct 31, 2003 at 10:39:19AM +0100, Simo Sorce wrote:

> > Fix some unused variable warnings.
> > 
> > Revisions:
> > gums_tdbsam2.c		1.1 => 1.2
> > 	http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums_tdbsam2.c.diff?r1=1.1&r2=1.2
> 
> Tim this fix seem wrong to me, by ifedfing out:
> 
> 	static int gums_tdbsam2_debug_class = DBGC_ALL;
> 
> you make the following define:
> 
> 	#undef DBGC_CLASS
> 	#define DBGC_CLASS gums_tdbsam2_debug_class
> 
> useless, and maybe harmful

That bit was already commented out which is why the compiler produced the
warning.  According to the annotation it was you who commented it out!


Tim.



More information about the samba-technical mailing list