Use NULL instead of 0 for pointers.
Small cosmetic change. MFC after: 2 weeks.
This commit is contained in:
parent
61c2ed541d
commit
b4b3d271de
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298325
@ -749,11 +749,11 @@ command(void)
|
|||||||
if (margc == 0)
|
if (margc == 0)
|
||||||
continue;
|
continue;
|
||||||
c = getcmd(margv[0]);
|
c = getcmd(margv[0]);
|
||||||
if (c == (struct cmd *)-1) {
|
if (c == (struct cmd *) - 1) {
|
||||||
printf("?Ambiguous command\n");
|
printf("?Ambiguous command\n");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (c == 0) {
|
if (c == NULL) {
|
||||||
printf("?Invalid command\n");
|
printf("?Invalid command\n");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user