From 7ad2147a08b000e4bb6101bd24f055552f7a41aa Mon Sep 17 00:00:00 2001 From: Nick Kralevich Date: Sat, 4 Oct 2014 15:20:00 -0700 Subject: [PATCH] string.h: remove unused variable (cherry picked from commit 48be71d02b6cc4e6493d38cdd6b7779032c38901) Bug: 17784968 Change-Id: Iac7732fb4f7fe42977cb9f62472bb636e17e5232 --- libc/include/string.h | 1 - 1 file changed, 1 deletion(-) diff --git a/libc/include/string.h b/libc/include/string.h index 8df68e38d..6384d57cd 100644 --- a/libc/include/string.h +++ b/libc/include/string.h @@ -98,7 +98,6 @@ __BIONIC_FORTIFY_INLINE void* memcpy(void* __restrict dest, const void* __restrict src, size_t copy_amount) { char *d = (char *) dest; const char *s = (const char *) src; - size_t s_len = __bos0(s); size_t d_len = __bos0(d); return __builtin___memcpy_chk(dest, src, copy_amount, d_len); -- 2.11.0