xiaoxiang781216 commented on code in PR #21033:
URL: https://github.com/apache/nuttx/pull/21033#discussion_r4386858339
##########
libs/libc/string/lib_memmove.c:
##########
@@ -39,21 +40,23 @@
no_builtin("memmove")
FAR void *memmove(FAR void *dest, FAR const void *src, size_t count)
{
+ uintptr_t d = (uintptr_t)dest;
+ uintptr_t s = (uintptr_t)src;
FAR char *tmp;
- FAR char *s;
Review Comment:
why not reuse tmp/s and remove line 43-44
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]