mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-12-09 14:10:11 +00:00
No need to check the return value for memset
code like this:
int a(void) {
return 0;
}
int b(void){
a();
}
fix as follow:
int a(void) {
return 0;
}
int b(void){
(void)a();
}
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
6.2 KiB
6.2 KiB