1
0
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:
Zdenek Kabelac 2021-03-10 15:53:58 +01:00
parent 23afad8247
commit d7bb23dd15
2 changed files with 2 additions and 2 deletions

View File

@ -551,7 +551,7 @@ static void _lock_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");

View File

@ -3595,7 +3595,7 @@ static void _print_man_secondary(char *name)
int main(int argc, char *argv[])
{
struct cmd_context cmdtool;
struct cmd_context cmdtool = { 0 };
char *cmdname = NULL;
char *desfile = NULL;
char *stdout_buf;