remove redundant calls to fmt::format() from calls to error->one/all() and utils::logmesg()
This commit is contained in:
@ -364,7 +364,7 @@ void ReadData::command(int narg, char **arg)
|
||||
// check if data file is available and readable
|
||||
|
||||
if (!platform::file_is_readable(arg[0]))
|
||||
error->all(FLERR, fmt::format("Cannot open file {}: {}", arg[0], utils::getsyserror()));
|
||||
error->all(FLERR, "Cannot open file {}: {}", arg[0], utils::getsyserror());
|
||||
|
||||
// reset so we can warn about reset image flags exactly once per data file
|
||||
|
||||
|
||||
Reference in New Issue
Block a user