mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-06-13 04:33:18 +08:00
fac95192ea
The code just clean the first member of array 'finsh_vm_stack', but it works well in the past years,
memset(&finsh_vm_stack[0], 0, sizeof(finsh_vm_stack[0]));
Is it better to re-code as below, it will be more readable and robust:
memset(&finsh_vm_stack[0], 0, sizeof(finsh_vm_stack));