diff options
author | ngie <ngie@FreeBSD.org> | 2015-11-15 04:50:54 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-11-15 04:50:54 +0000 |
commit | fe387a666998af236d141f9923fcf56f5eb8711f (patch) | |
tree | ef383aed3de2558d5da58147faa4733ca05c49c1 /lib/libc/tests/locale | |
parent | 29ec5323ff7fd18750756e0e80ee01148955c158 (diff) | |
download | FreeBSD-src-fe387a666998af236d141f9923fcf56f5eb8711f.zip FreeBSD-src-fe387a666998af236d141f9923fcf56f5eb8711f.tar.gz |
Remove unused variables; sort by alignment where needed
MFC after: 1 week
X-MFC with: r290532
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib/libc/tests/locale')
-rw-r--r-- | lib/libc/tests/locale/mblen_test.c | 1 | ||||
-rw-r--r-- | lib/libc/tests/locale/mbrlen_test.c | 1 | ||||
-rw-r--r-- | lib/libc/tests/locale/mbrtowc_test.c | 1 | ||||
-rw-r--r-- | lib/libc/tests/locale/mbtowc_test.c | 3 |
4 files changed, 1 insertions, 5 deletions
diff --git a/lib/libc/tests/locale/mblen_test.c b/lib/libc/tests/locale/mblen_test.c index 50ec4ac..fbb938d 100644 --- a/lib/libc/tests/locale/mblen_test.c +++ b/lib/libc/tests/locale/mblen_test.c @@ -46,7 +46,6 @@ __FBSDID("$FreeBSD$"); ATF_TC_WITHOUT_HEAD(mblen_test); ATF_TC_BODY(mblen_test, tc) { - size_t len; char buf[MB_LEN_MAX + 1]; /* diff --git a/lib/libc/tests/locale/mbrlen_test.c b/lib/libc/tests/locale/mbrlen_test.c index ffd6143..c2bc548 100644 --- a/lib/libc/tests/locale/mbrlen_test.c +++ b/lib/libc/tests/locale/mbrlen_test.c @@ -49,7 +49,6 @@ ATF_TC_WITHOUT_HEAD(mbrlen_test); ATF_TC_BODY(mbrlen_test, tc) { mbstate_t s; - size_t len; char buf[MB_LEN_MAX + 1]; /* C/POSIX locale. */ diff --git a/lib/libc/tests/locale/mbrtowc_test.c b/lib/libc/tests/locale/mbrtowc_test.c index 2740392..37e0bfd 100644 --- a/lib/libc/tests/locale/mbrtowc_test.c +++ b/lib/libc/tests/locale/mbrtowc_test.c @@ -49,7 +49,6 @@ ATF_TC_WITHOUT_HEAD(mbrtowc_test); ATF_TC_BODY(mbrtowc_test, tc) { mbstate_t s; - size_t len; wchar_t wc; char buf[MB_LEN_MAX + 1]; diff --git a/lib/libc/tests/locale/mbtowc_test.c b/lib/libc/tests/locale/mbtowc_test.c index 1f64fe1..7c7f80e 100644 --- a/lib/libc/tests/locale/mbtowc_test.c +++ b/lib/libc/tests/locale/mbtowc_test.c @@ -46,9 +46,8 @@ __FBSDID("$FreeBSD$"); ATF_TC_WITHOUT_HEAD(mbtowc_test); ATF_TC_BODY(mbtowc_test, tc) { - size_t len; - wchar_t wc; char buf[MB_LEN_MAX + 1]; + wchar_t wc; /* C/POSIX locale. */ |