summaryrefslogtreecommitdiff
path: root/osinfo
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2021-11-30 11:01:41 +0000
committerDaniel P. Berrangé <berrange@redhat.com>2022-02-04 14:14:49 +0000
commit8be2f379670aafdde45cf4e074589627528247a3 (patch)
treec88eedb3ebb022f5fb5b6286322f53f4d523b7a4 /osinfo
parent65313c6e6d8a5f741e50940dc753a06ebe502d91 (diff)
downloadlibosinfo-8be2f379670aafdde45cf4e074589627528247a3.tar.gz
osinfo: don't set the 'os' property on matched tree
We just got the OsinfoTee list from the OsinfoOs object, thus we know that it already has the 'os' property set. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'osinfo')
-rw-r--r--osinfo/osinfo_db.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/osinfo/osinfo_db.c b/osinfo/osinfo_db.c
index 4d8172b..61942b4 100644
--- a/osinfo/osinfo_db.c
+++ b/osinfo/osinfo_db.c
@@ -803,7 +803,6 @@ static gboolean compare_tree(OsinfoTree *tree,
*ret_os = os;
if (matched != NULL) {
*matched = os_tree;
- osinfo_tree_set_os(*matched, *ret_os);
found = TRUE;
}
break;