mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-21 22:04:19 +03:00
cov: missing initializer
Ensure there is no code path with uninitialized takes_arg.
This commit is contained in:
parent
c78970c0d0
commit
8145f8b061
@ -1171,7 +1171,7 @@ static void _include_required_opt_args(struct cmd_context *cmdtool, struct comma
|
||||
static void _add_required_line(struct cmd_context *cmdtool, struct command *cmd, int argc, char *argv[])
|
||||
{
|
||||
int i;
|
||||
int takes_arg;
|
||||
int takes_arg = 0;
|
||||
int prev_was_opt = 0, prev_was_pos = 0;
|
||||
int orig_ro_count = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user