Ralf Wildenhues <[EMAIL PROTECTED]> writes: > Hello Simon, > > OK to apply? This makes tests/ 'gcc -Wall -Werror' proof.
Hi Ralf! Looks good, please install it. /Simon > Cheers, > Ralf > > 2006-11-13 Ralf Wildenhues <[EMAIL PROTECTED]> > > * tests/test-gc.c (main): Remove unused variables. > * tests/test-read-file.c: Include stdlib.h, for 'free'. > > Index: tests/test-gc.c > =================================================================== > RCS file: /cvsroot/gnulib/gnulib/tests/test-gc.c,v > retrieving revision 1.2 > diff -u -r1.2 test-gc.c > --- tests/test-gc.c 13 Oct 2005 08:06:07 -0000 1.2 > +++ tests/test-gc.c 13 Nov 2006 18:20:57 -0000 > @@ -1,5 +1,5 @@ > /* > - * Copyright (C) 2005 Free Software Foundation > + * Copyright (C) 2005, 2006 Free Software Foundation > * Written by Simon Josefsson > * > * This program is free software; you can redistribute it and/or modify > @@ -29,7 +29,6 @@ > main (int argc, char *argv[]) > { > Gc_rc rc; > - char buf1[8], buf2[8]; > > rc = gc_init (); > if (rc != GC_OK) > Index: tests/test-read-file.c > =================================================================== > RCS file: /cvsroot/gnulib/gnulib/tests/test-read-file.c,v > retrieving revision 1.1 > diff -u -r1.1 test-read-file.c > --- tests/test-read-file.c 16 Jun 2006 19:40:12 -0000 1.1 > +++ tests/test-read-file.c 13 Nov 2006 18:20:57 -0000 > @@ -24,6 +24,7 @@ > #include "read-file.h" > > #include <stdio.h> > +#include <stdlib.h> > > #define FILE1 "/etc/resolv.conf" > #define FILE2 "/dev/null"