This is an automated email from the git hooks/post-receive script.
teigland pushed a commit to branch master
in repository sanlock.
The following commit(s) were added to refs/heads/master by this push:
new bb7f04e sanlock: direct dump fix variable init
bb7f04e is described below
commit bb7f04e8fb3bec76cdecb00aa20d82b147d3a3d9
Author: David Teigland <teigland(a)redhat.com>
AuthorDate: Tue Apr 2 16:19:06 2019 -0500
sanlock: direct dump fix variable init
---
src/direct.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/direct.c b/src/direct.c
index e1d505e..344fe3d 100644
--- a/src/direct.c
+++ b/src/direct.c
@@ -569,7 +569,9 @@ int direct_dump(struct task *task, char *dump_path, int force_mode)
uint64_t sector_nr;
uint64_t dump_size = 0;
uint64_t end_sector_nr;
- int sector_size, sector_count, datalen, align_size, max_hosts;
+ int sector_size = 0;
+ int align_size = 0;
+ int sector_count, datalen, max_hosts;
int i, j, rv, b;
memset(&sd, 0, sizeof(struct sync_disk));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
Show replies by date