1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 10:25:13 +03:00

gcc-fanalyzer: drop zeroing of pointers

This explicit pointer zeroing is not needed since
we use 'zalloced' buffers.
This commit is contained in:
Zdenek Kabelac 2021-09-20 13:53:20 +02:00
parent 909401226c
commit becffe4567

View File

@ -50,8 +50,6 @@ int archive_init(struct cmd_context *cmd, const char *dir,
return 0;
}
cmd->archive_params->dir = NULL;
if (!*dir)
return 1;
@ -195,7 +193,6 @@ int backup_init(struct cmd_context *cmd, const char *dir,
return 0;
}
cmd->backup_params->dir = NULL;
if (!*dir)
return 1;