Skip to content

Commit

Permalink
Refactor: replace implementation by function call.
Browse files Browse the repository at this point in the history
  • Loading branch information
isimluk committed Feb 25, 2016
1 parent 690d154 commit cf6f263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XCCDF_POLICY/xccdf_policy_model.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ static int _xccdf_policy_model_create_policy_if_useful(struct xccdf_policy_model
return -1;
}
if (xccdf_policy_get_selected_rules_count(policy) > 0) {
oscap_list_add(policy_model->policies, policy);
xccdf_policy_model_add_policy(policy_model, policy);
}
}
return 0;
Expand Down

0 comments on commit cf6f263

Please sign in to comment.