Patch committed to remove warning in lockfile.c

Andreas Jaeger aj@suse.de
Sat Jun 10 03:17:00 GMT 2000


FYI I got the following warning and committed the appended patch:

lockfile.c:93: warning: unused variable `fp'

Andreas

2000-06-10  Andreas Jaeger  <aj@suse.de>

	* lockfile.c (__fresetlockfiles): Remove unused variable fp.

============================================================
Index: linuxthreads/lockfile.c
--- linuxthreads/lockfile.c	2000/06/07 22:51:26	1.3
+++ linuxthreads/lockfile.c	2000/06/10 10:11:48
@@ -1,5 +1,5 @@
 /* lockfile - Handle locking and unlocking of stream.
-   Copyright (C) 1996, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1998, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -90,7 +90,6 @@
 #ifdef USE_IN_LIBIO
   _IO_ITER i;
 
-  _IO_FILE *fp;
   pthread_mutexattr_t attr;
 
   __pthread_mutexattr_init (&attr);

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de


More information about the Libc-hacker mailing list