test-pwrite.c: Remove unused variable declaration.
authorPeter O'Gorman <pogma@thewrittenword.com>
Mon, 10 May 2010 22:54:27 +0000 (00:54 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 10 May 2010 22:54:27 +0000 (00:54 +0200)
ChangeLog
tests/test-pwrite.c

index dcf8cf834792aea380bd93dcf4d112724a17c735..9ddf925546da2cfe9edddb7df34431e3db7a5528 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2010-05-10  Peter O'Gorman  <pogma@thewrittenword.com>
 
+       test-pwrite.c: Remove unused variable declaration.
+       * tests/test-pwrite.c (main): Remove read_buf declaration.
+
        Remove useless test-pwrite.sh file.
        * tests/test-pwrite.sh: Delete file.
        * modules/pwrite-tests: Remove references.
index 073f6a336c286d13d8463caa003030e80cf562a8..549be10801e5ba5d0ad34d4e3fbc4ce8ec3ed198 100644 (file)
@@ -69,7 +69,6 @@ main (void)
   ASSERT (close (fd) == 0);
 
   {
-    char read_buf[N];
     fd = open (file, O_RDONLY);
     ASSERT (0 <= fd);
     ASSERT (read (fd, buf, N) == N);