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:
Fabio Estevam
2017-06-18 21:11:10 +02:00
committed by Lukasz Majewski
parent 6188752187
commit d419026a02
+1 -1
View File
@@ -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;
}