Skip to content

Commit

Permalink
Removing dupplicated check
Browse files Browse the repository at this point in the history
  • Loading branch information
hahnnicholas committed Nov 30, 2024
1 parent d8d97f5 commit 0659ba6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/osdp_cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1476,9 +1476,6 @@ static int cp_add_pd(struct osdp *ctx, int num_pd, const osdp_pd_info_t *info_li

osdp_t *osdp_cp_setup(int num_pd, const osdp_pd_info_t *info)
{
assert(info_list != NULL || num_pd == 0);
assert(num_pd >= 0);

struct osdp *ctx;

ctx = calloc(1, sizeof(struct osdp));
Expand Down

0 comments on commit 0659ba6

Please sign in to comment.