diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-08-23 03:38:46 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-08-23 03:38:46 +0000 |
commit | ec91d8b59d5c8b314bc50cc6feedeeaf6fe3493c (patch) | |
tree | 4451a3cce162112c845dea0b838217b5fc98eb0c /libc/string/generic/memmove.c | |
parent | 3036a4319e8f59db769609c6190169b38d997093 (diff) | |
download | uClibc-alpine-ec91d8b59d5c8b314bc50cc6feedeeaf6fe3493c.tar.bz2 uClibc-alpine-ec91d8b59d5c8b314bc50cc6feedeeaf6fe3493c.tar.xz |
Merge from trunk.
Diffstat (limited to 'libc/string/generic/memmove.c')
-rw-r--r-- | libc/string/generic/memmove.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libc/string/generic/memmove.c b/libc/string/generic/memmove.c index 68caacd78..0e51ea771 100644 --- a/libc/string/generic/memmove.c +++ b/libc/string/generic/memmove.c @@ -29,7 +29,8 @@ libc_hidden_proto(memcpy) static void _wordcopy_bwd_aligned (long int dstp, long int srcp, size_t len) { - op_t a0, a1; + op_t a0 = 0; + op_t a1 = 0; switch (len % 8) { @@ -133,7 +134,10 @@ static void _wordcopy_bwd_aligned (long int dstp, long int srcp, size_t len) static void _wordcopy_bwd_dest_aligned (long int dstp, long int srcp, size_t len) { - op_t a0, a1, a2, a3; + op_t a0 = 0; + op_t a1 = 0; + op_t a2 = 0; + op_t a3 = 0; int sh_1, sh_2; /* Calculate how to shift a word read at the memory operation |