summaryrefslogtreecommitdiffstats
path: root/libc/include/string.h
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2014-10-04 15:20:00 -0700
committerNick Kralevich <nnk@google.com>2014-10-04 15:20:00 -0700
commit48be71d02b6cc4e6493d38cdd6b7779032c38901 (patch)
tree5c562cf12fcb46b262782fc0893d26c13366dafa /libc/include/string.h
parent4ef0e59f339ad138eabe3bc408beda6004f5ea83 (diff)
downloadbionic-48be71d02b6cc4e6493d38cdd6b7779032c38901.zip
bionic-48be71d02b6cc4e6493d38cdd6b7779032c38901.tar.gz
bionic-48be71d02b6cc4e6493d38cdd6b7779032c38901.tar.bz2
string.h: remove unused variable
Change-Id: I08b7dab1b374ad427fcbee4183f2c7d93d0199a9
Diffstat (limited to 'libc/include/string.h')
-rw-r--r--libc/include/string.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libc/include/string.h b/libc/include/string.h
index b0643af..f3dca1b 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);