mirror of https://github.com/djcb/mu.git
mu-move: fix compiler warning
This commit is contained in:
parent
8abf0983fd
commit
14c2b373eb
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue