aboutsummaryrefslogtreecommitdiffstats
path: root/src/libpts
diff options
context:
space:
mode:
Diffstat (limited to 'src/libpts')
-rw-r--r--src/libpts/swid/swid_inventory.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libpts/swid/swid_inventory.c b/src/libpts/swid/swid_inventory.c
index 9e85647bc..062bf4ec5 100644
--- a/src/libpts/swid/swid_inventory.c
+++ b/src/libpts/swid/swid_inventory.c
@@ -156,11 +156,6 @@ static status_t generate_tags(private_swid_inventory_t *this, char *generator,
unique_sw_id = chunk_create(separator, len - (separator - line));
tag_id = swid_tag_id_create(tag_creator, unique_sw_id, tag_file_path);
this->list->insert_last(this->list, tag_id);
-
- if (fgets(line, sizeof(line), file) <= 0)
- {
- goto end;
- }
}
}