mu-move: fix compiler warning

This commit is contained in:
Dirk-Jan C. Binnema 2023-11-03 21:16:56 +02:00
parent 8abf0983fd
commit 14c2b373eb
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ Mu::mu_cmd_move(Mu::Store& store, const Options& opts)
if (!old_flags)
return Err(Error::Code::InvalidArgument, "failed to determine old flags");
Flags new_flags;
Flags new_flags{};
if (!opts.move.flags.empty()) {
if (auto&& nflags{flags_from_expr(to_string_view(opts.move.flags),
*old_flags)}; !nflags)