mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-11 19:00:02 +01:00
Silence false positive cppcheck warning.
This commit is contained in:
@@ -2843,7 +2843,7 @@ static int _process_deps(struct crypt_device *cd, const char *prefix, struct dm_
|
|||||||
int dm_device_deps(struct crypt_device *cd, const char *name, const char *prefix,
|
int dm_device_deps(struct crypt_device *cd, const char *name, const char *prefix,
|
||||||
char **names, size_t names_length)
|
char **names, size_t names_length)
|
||||||
{
|
{
|
||||||
struct dm_task *dmt;
|
struct dm_task *dmt = NULL;
|
||||||
struct dm_info dmi;
|
struct dm_info dmi;
|
||||||
struct dm_deps *deps;
|
struct dm_deps *deps;
|
||||||
int r = -EINVAL;
|
int r = -EINVAL;
|
||||||
|
|||||||
Reference in New Issue
Block a user