Date: Sun, 15 Nov 2015 04:50:54 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290845 - head/lib/libc/tests/locale Message-ID: <201511150450.tAF4os9f098174@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Sun Nov 15 04:50:54 2015 New Revision: 290845 URL: https://svnweb.freebsd.org/changeset/base/290845 Log: Remove unused variables; sort by alignment where needed MFC after: 1 week X-MFC with: r290532 Sponsored by: EMC / Isilon Storage Division Modified: head/lib/libc/tests/locale/mblen_test.c head/lib/libc/tests/locale/mbrlen_test.c head/lib/libc/tests/locale/mbrtowc_test.c head/lib/libc/tests/locale/mbtowc_test.c Modified: head/lib/libc/tests/locale/mblen_test.c ============================================================================== --- head/lib/libc/tests/locale/mblen_test.c Sun Nov 15 04:50:08 2015 (r290844) +++ head/lib/libc/tests/locale/mblen_test.c Sun Nov 15 04:50:54 2015 (r290845) @@ -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]; /* Modified: head/lib/libc/tests/locale/mbrlen_test.c ============================================================================== --- head/lib/libc/tests/locale/mbrlen_test.c Sun Nov 15 04:50:08 2015 (r290844) +++ head/lib/libc/tests/locale/mbrlen_test.c Sun Nov 15 04:50:54 2015 (r290845) @@ -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. */ Modified: head/lib/libc/tests/locale/mbrtowc_test.c ============================================================================== --- head/lib/libc/tests/locale/mbrtowc_test.c Sun Nov 15 04:50:08 2015 (r290844) +++ head/lib/libc/tests/locale/mbrtowc_test.c Sun Nov 15 04:50:54 2015 (r290845) @@ -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]; Modified: head/lib/libc/tests/locale/mbtowc_test.c ============================================================================== --- head/lib/libc/tests/locale/mbtowc_test.c Sun Nov 15 04:50:08 2015 (r290844) +++ head/lib/libc/tests/locale/mbtowc_test.c Sun Nov 15 04:50:54 2015 (r290845) @@ -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. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511150450.tAF4os9f098174>