diff options
author | Nick Kralevich <nnk@google.com> | 2014-10-04 15:20:00 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-10-06 10:17:01 -0700 |
commit | 7ad2147a08b000e4bb6101bd24f055552f7a41aa (patch) | |
tree | b4be35dbe0a4af2e27c85d7c26790dce68941c81 /libc/include | |
parent | 02542b3bbd6370e904e6bccba1032185b9f0eb75 (diff) | |
download | bionic-7ad2147a08b000e4bb6101bd24f055552f7a41aa.zip bionic-7ad2147a08b000e4bb6101bd24f055552f7a41aa.tar.gz bionic-7ad2147a08b000e4bb6101bd24f055552f7a41aa.tar.bz2 |
string.h: remove unused variable
(cherry picked from commit 48be71d02b6cc4e6493d38cdd6b7779032c38901)
Bug: 17784968
Change-Id: Iac7732fb4f7fe42977cb9f62472bb636e17e5232
Diffstat (limited to 'libc/include')
-rw-r--r-- | libc/include/string.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libc/include/string.h b/libc/include/string.h index 8df68e3..6384d57 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); |