mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cov: initialize value
Coverity can't understand conditions together, so just keep it quiet.
This commit is contained in:
parent
23afad8247
commit
d7bb23dd15
@ -551,7 +551,7 @@ static void _lock_mem(struct cmd_context *cmd)
|
|||||||
|
|
||||||
static void _unlock_mem(struct cmd_context *cmd)
|
static void _unlock_mem(struct cmd_context *cmd)
|
||||||
{
|
{
|
||||||
size_t unlock_mstats;
|
size_t unlock_mstats = 0;
|
||||||
|
|
||||||
log_very_verbose("Unlocking memory");
|
log_very_verbose("Unlocking memory");
|
||||||
|
|
||||||
|
@ -3595,7 +3595,7 @@ static void _print_man_secondary(char *name)
|
|||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
struct cmd_context cmdtool;
|
struct cmd_context cmdtool = { 0 };
|
||||||
char *cmdname = NULL;
|
char *cmdname = NULL;
|
||||||
char *desfile = NULL;
|
char *desfile = NULL;
|
||||||
char *stdout_buf;
|
char *stdout_buf;
|
||||||
|
Loading…
Reference in New Issue
Block a user