Skip to content

Commit 0add32d

Browse files
author
max-foss
committed
Attempt to remove unreachable code to improve test coverage.
1 parent f6187bf commit 0add32d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/parse.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3895,17 +3895,7 @@ netplan_parser_reset(NetplanParser* npp)
38953895
npp->global_renderer = NULL;
38963896
}
38973897

3898-
if (npp->xfrm_if_ids) {
3899-
g_hash_table_destroy(npp->xfrm_if_ids);
3900-
npp->xfrm_if_ids = NULL;
3901-
}
3902-
39033898
npp->flags = 0;
3904-
3905-
if (npp->xfrm_if_ids) {
3906-
g_hash_table_destroy(npp->xfrm_if_ids);
3907-
npp->xfrm_if_ids = NULL;
3908-
}
39093899
npp->error_count = 0;
39103900
}
39113901

0 commit comments

Comments
 (0)