Skip to content

Commit

Permalink
python: Fix broken build due to wrong return type
Browse files Browse the repository at this point in the history
Signed-off-by: Siddharth Chandrasekaran <[email protected]>
  • Loading branch information
sidcha committed Jun 4, 2024
1 parent 5b959c2 commit 3be4076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/osdp_sys/data.c
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ PyObject *pyosdp_make_dict_pd_id(struct osdp_pd_id *pd_id)
{
PyObject *obj = PyDict_New();
if (obj == NULL)
return -1;
return NULL;

pyosdp_dict_add_int(obj, "version", pd_id->version);
pyosdp_dict_add_int(obj, "model", pd_id->model);
Expand Down

0 comments on commit 3be4076

Please sign in to comment.