Remove dubious compilation warning.
authorMilan Broz <gmazyland@gmail.com>
Tue, 19 Jun 2012 10:49:16 +0000 (12:49 +0200)
committerMilan Broz <gmazyland@gmail.com>
Tue, 19 Jun 2012 10:49:16 +0000 (12:49 +0200)
lib/luks1/keymanage.c

index 0d21081ec4e009280762b25c52e34cc477731f85..20dd6d1afe8119a9610109ef659ca94cafa6bf3a 100644 (file)
@@ -215,7 +215,7 @@ int LUKS_hdr_restore(
        struct crypt_device *ctx)
 {
        int r = 0, devfd = -1, diff_uuid = 0;
-       ssize_t buffer_size;
+       ssize_t buffer_size = 0;
        char *buffer = NULL, msg[200];
        struct stat st;
        struct luks_phdr hdr_file;