commit | ae97a776ea900e5923d6d320d72dcc04b224796e | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Sat Oct 04 22:38:08 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Sat Oct 04 22:38:09 2014 +0000 |
tree | 5c562cf12fcb46b262782fc0893d26c13366dafa | |
parent | 4ef0e59f339ad138eabe3bc408beda6004f5ea83 [diff] | |
parent | 48be71d02b6cc4e6493d38cdd6b7779032c38901 [diff] |
Merge "string.h: remove unused variable"
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 @@ 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);