test-vmstate: remove unnecessary code in match_interval_mapping_node
'str' is not used in match_interval_mapping_node(), remove it. Signed-off-by: Pan Nengyuan <pannengyuan@huawei.com> Reviewed-by: Li Qiang <liq3ea@gmail.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20200910023818.11880-1-pannengyuan@huawei.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
8b39aa90e9
commit
712f197436
@ -1055,9 +1055,6 @@ static gboolean match_interval_mapping_node(gpointer key,
|
||||
TestGTreeMapping *map_a, *map_b;
|
||||
TestGTreeInterval *a, *b;
|
||||
struct match_node_data *d = (struct match_node_data *)data;
|
||||
char *str = g_strdup_printf("dest");
|
||||
|
||||
g_free(str);
|
||||
a = (TestGTreeInterval *)key;
|
||||
b = (TestGTreeInterval *)d->key;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user