OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02542b3
)
string.h: remove unused variable
author
Nick Kralevich
<nnk@google.com>
Sat, 4 Oct 2014 22:20:00 +0000
(15:20 -0700)
committer
Elliott Hughes
<enh@google.com>
Mon, 6 Oct 2014 17:17:01 +0000
(10:17 -0700)
(cherry picked from commit
48be71d02b6cc4e6493d38cdd6b7779032c38901
)
Bug:
17784968
Change-Id: Iac7732fb4f7fe42977cb9f62472bb636e17e5232
libc/include/string.h
patch
|
blob
|
history
diff --git
a/libc/include/string.h
b/libc/include/string.h
index
8df68e3
..
6384d57
100644
(file)
--- 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);