Skip to content

Commit

Permalink
Update pycsp.c
Browse files Browse the repository at this point in the history
  • Loading branch information
moonlight83340 committed Aug 28, 2024
1 parent 6ebe01f commit 7a77d75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bindings/python/pycsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ static PyObject * pycsp_zmqhub_init(PyObject * self, PyObject * args) {
return NULL; // TypeError is thrown
}

csp_iface_t * iface = get_capsule_pointer(iface_capsule, IFACE_CAPSULE, true);
csp_iface_t * iface = NULL; //get_capsule_pointer(iface_capsule, IFACE_CAPSULE, true);

if(iface == NULL){
is_default = true;
Expand Down Expand Up @@ -878,7 +878,7 @@ static PyObject * pycsp_can_socketcan_init(PyObject * self, PyObject * args) {
return NULL;
}

csp_iface_t * iface = get_capsule_pointer(iface_capsule, IFACE_CAPSULE, true);
csp_iface_t * iface = NULL; //get_capsule_pointer(iface_capsule, IFACE_CAPSULE, true);

if(iface == NULL){
is_default = true;
Expand Down Expand Up @@ -908,7 +908,7 @@ static PyObject * pycsp_kiss_init(PyObject * self, PyObject * args) {
return NULL; // TypeError is thrown
}

csp_iface_t * iface = get_capsule_pointer(iface_capsule, IFACE_CAPSULE, true);
csp_iface_t * iface = NULL; //get_capsule_pointer(iface_capsule, IFACE_CAPSULE, true);

if(iface == NULL){
is_default = true;
Expand Down

0 comments on commit 7a77d75

Please sign in to comment.