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