master - cleanup: drop unneeded inits
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=1bde4c19e65a823c9dc3a34606f2aefb76e41230 Commit: 1bde4c19e65a823c9dc3a34606f2aefb76e41230 Parent: 5095a6517da9b57b0d2540b961e9841ad02fa8cc Author: Zdenek Kabelac <[email protected]> AuthorDate: Wed Aug 13 14:20:41 2014 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Fri Aug 15 15:06:44 2014 +0200
cleanup: drop unneeded inits
--- tools/lvconvert.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
tools/lvconvert.c +3 -3
@@ -3218,7 +3218,7 @@ static int _poll_logical_volume(struct cmd_context *cmd, struct logical_volume *static int lvconvert_single (struct cmd_context *cmd,struct lvconvert_params *lp) { -struct logical_volume *lv =NULL ; +struct logical_volume *lv;int ret =ECMD_FAILED ;int saved_ignore_suspended_devices =ignore_suspended_devices ();
@@ -3265,8 +3265,8 @@ static int _lvconvert_merge_single(struct cmd_context *cmd, struct logical_volum void *handle) {struct lvconvert_params *lp = handle; -const char *vg_name =NULL ; -struct logical_volume *refreshed_lv =NULL ; +const char *vg_name; +struct logical_volume *refreshed_lv;int ret;/*