Fix some compiler warnings.

This commit is contained in:
Milan Broz
2019-02-07 17:14:47 +01:00
parent 319fd19b5e
commit 91b74b6896
5 changed files with 6 additions and 8 deletions

View File

@@ -170,7 +170,6 @@ int crypt_wipe_device(struct crypt_device *cd,
if (dev_size <= offset)
return -EINVAL;
length = dev_size - offset;
}
r = posix_memalign((void **)&sf, alignment, wipe_block_size);