Don't use 0 as null pointer constant, part 1
Use NULL instead of 0, for clarity. Except in pointer comparisons; leave that to the next two commits.
This commit is contained in:
parent
a2ed975ec2
commit
615681ce16
51 changed files with 107 additions and 100 deletions
|
@ -82,7 +82,7 @@ stre(void)
|
|||
pr("%7s", "");
|
||||
|
||||
if (def->sct_type != SCT_MOUNT)
|
||||
r_total = att_reacting_units(def, 0, 0, &dummy, 9999999);
|
||||
r_total = att_reacting_units(def, NULL, 0, &dummy, 9999999);
|
||||
else
|
||||
r_total = 0.0;
|
||||
def->own = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue