projects
/
platform
/
upstream
/
cryptsetup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f4fb93
)
Remove dubious compilation warning.
author
Milan Broz
<gmazyland@gmail.com>
Tue, 19 Jun 2012 10:49:16 +0000
(12:49 +0200)
committer
Milan Broz
<gmazyland@gmail.com>
Tue, 19 Jun 2012 10:49:16 +0000
(12:49 +0200)
lib/luks1/keymanage.c
patch
|
blob
|
history
diff --git
a/lib/luks1/keymanage.c
b/lib/luks1/keymanage.c
index 0d21081ec4e009280762b25c52e34cc477731f85..20dd6d1afe8119a9610109ef659ca94cafa6bf3a 100644
(file)
--- a/
lib/luks1/keymanage.c
+++ b/
lib/luks1/keymanage.c
@@
-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;