From 0888fedd86a3fbd197c26a232d7e039e4606b846 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 24 Aug 2000 16:25:36 +0000 Subject: 2000-08-23 Werner Almesberger * 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" --- newlib/libc/string/memset.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'newlib/libc/string/memset.c') diff --git a/newlib/libc/string/memset.c b/newlib/libc/string/memset.c index f6ec46b9a..a5890c884 100644 --- a/newlib/libc/string/memset.c +++ b/newlib/libc/string/memset.c @@ -56,10 +56,9 @@ _DEFUN (memset, (m, c, n), return m; #else char *s = (char *) m; - int count, i; + int i; unsigned long buffer; unsigned long *aligned_addr; - unsigned char *unaligned_addr; if (!TOO_SMALL (n) && !UNALIGNED (m)) { -- cgit v1.2.3