diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2014-11-20 17:49:32 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2014-11-20 17:49:32 +0100 |
commit | 089bdc0be479dce8a886a50606b4bbb108614fb2 (patch) | |
tree | 09d3c915d4dc9b1b597827581b244bb79f38f756 | |
parent | 71271cf9053bd4fb6d6dbf1c4240fcb105165084 (diff) | |
download | lvm2-089bdc0be479dce8a886a50606b4bbb108614fb2.tar.gz |
cleanup: drop unused vars
-rw-r--r-- | libdm/libdm-config.c | 2 | ||||
-rw-r--r-- | tools/toollib.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libdm/libdm-config.c b/libdm/libdm-config.c index 93e28872a..91aa970d7 100644 --- a/libdm/libdm-config.c +++ b/libdm/libdm-config.c @@ -522,7 +522,7 @@ static struct dm_config_node *_section(struct parser *p, struct dm_config_node * { /* IDENTIFIER SECTION_B_CHAR VALUE* SECTION_E_CHAR */ - struct dm_config_node *root, *n, *l = NULL; + struct dm_config_node *root, *n; struct dm_config_value *value; char *str; diff --git a/tools/toollib.c b/tools/toollib.c index 2015ca14b..00512a3a6 100644 --- a/tools/toollib.c +++ b/tools/toollib.c @@ -1126,7 +1126,7 @@ struct dm_config_tree *get_cachepolicy_params(struct cmd_context *cmd) const char *str; struct arg_value_group_list *group; struct dm_config_tree *result = NULL, *prev = NULL, *current = NULL; - struct dm_config_node *cn, *last = NULL; + struct dm_config_node *cn; int ok = 0; dm_list_iterate_items(group, &cmd->arg_value_groups) { |