mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
cmd: usb_mass_storage: Use NULL for pointer
Use NULL for pointer to fix the following sparse warning: cmd/usb_mass_storage.c:47:15: warning: Using plain integer as NULL pointer Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
This commit is contained in:
parent
6188752187
commit
d419026a02
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ static void ums_fini(void)
|
|||
for (i = 0; i < ums_count; i++)
|
||||
free((void *)ums[i].name);
|
||||
free(ums);
|
||||
ums = 0;
|
||||
ums = NULL;
|
||||
ums_count = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue