diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2000-08-24 16:25:36 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2000-08-24 16:25:36 +0000 |
commit | 0888fedd86a3fbd197c26a232d7e039e4606b846 (patch) | |
tree | 387c188a5cc3efa53db0e970a2e7a6b8161a2e57 /newlib/libc/unix | |
parent | a334e5ef7267195d7ee285c89e9e4fa4d57347da (diff) | |
download | cygnal-0888fedd86a3fbd197c26a232d7e039e4606b846.tar.gz cygnal-0888fedd86a3fbd197c26a232d7e039e4606b846.tar.bz2 cygnal-0888fedd86a3fbd197c26a232d7e039e4606b846.zip |
2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
* libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
used later (ifdef __SCLE)
* libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
used later (ifdef MB_CAPABLE)
* libc/string/memset.c (memset): removed unused variables "count"
and "unaligned_addr"
* libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
"last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
* libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
and "gid"
Diffstat (limited to 'newlib/libc/unix')
-rw-r--r-- | newlib/libc/unix/getpwent.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/newlib/libc/unix/getpwent.c b/newlib/libc/unix/getpwent.c index 23a35f49b..90ce30eaf 100644 --- a/newlib/libc/unix/getpwent.c +++ b/newlib/libc/unix/getpwent.c @@ -22,7 +22,6 @@ getpwnam (name) const char *name; { FILE *fp; - int uid, gid; char buf[1024]; if ((fp = fopen ("/etc/passwd", "r")) == NULL) |