Don't use 0 as null pointer constant, part 2
This part replaces E != 0 by E, where E has pointer type.
This commit is contained in:
parent
615681ce16
commit
90f8f2b099
15 changed files with 23 additions and 24 deletions
|
@ -383,7 +383,7 @@ guerrilla(struct sctstr *sp)
|
|||
min_mil = val;
|
||||
}
|
||||
/* if we found a nice sector, go there */
|
||||
if (nicest_sp != 0) {
|
||||
if (nicest_sp) {
|
||||
nicest_sp->sct_che += che;
|
||||
nicest_sp->sct_che_target = target;
|
||||
che = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue