T2345: After examining comments changed by batch conversion of NULL

to nullptr, I've corrected a small number where it seemed clear
that the previous NULL should have been either "NULL" (where the
code is looking for a string with that value),  or null char / null byte
(where the comment is talking about the char/byte that terminates
a c-style string).

Also changed 6 places where the batch change had changed 'NULL ptr'
to 'nullptr ptr'. Now they simply say 'nullptr'.
This commit is contained in:
Anne Gunn
2020-09-12 09:02:31 -06:00
parent 9f0354f816
commit 1597cd5dcb
46 changed files with 56 additions and 56 deletions

View File

@ -91,7 +91,7 @@ void Run::command(int narg, char **arg)
// all remaining args are commands
// first,last = arg index of first/last commands
// set ncommands = 0 if single command and it is nullptr
// set ncommands = 0 if single command and it is "NULL"
} else if (strcmp(arg[iarg],"every") == 0) {
if (iarg+3 > narg) error->all(FLERR,"Illegal run command");