1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-12 13:18:31 +03:00

skip cast from (void*)

This commit is contained in:
zkabelac 2009-12-03 09:59:54 +00:00
parent 5a5fed28fa
commit 78bdbce2fd

View File

@ -1095,7 +1095,7 @@ static int _create_lv_symlinks(struct dev_manager *dm, struct dm_tree_node *root
int r = 1;
while ((child = dm_tree_next_child(&handle, root, 0))) {
if (!(lvlayer = (struct lv_layer *) dm_tree_node_get_context(child)))
if (!(lvlayer = dm_tree_node_get_context(child)))
continue;
/* Detect rename */