From 48be71d02b6cc4e6493d38cdd6b7779032c38901 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 Change-Id: I08b7dab1b374ad427fcbee4183f2c7d93d0199a9 --- libc/include/string.h | 1 - 1 file changed, 1 deletion(-) diff --git a/libc/include/string.h b/libc/include/string.h index b0643af6c..f3dca1b16 100644 --- a/libc/include/string.h +++ b/libc/include/string.h @@ -117,7 +117,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);