Use NULL instead of 0 for pointers.
Small cosmetic change. MFC after: 2 weeks.
This commit is contained in:
parent
b9140f06e3
commit
a05218e04b
@ -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…
Reference in New Issue
Block a user