File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -380,6 +380,7 @@ shm_semlock_counters = {
380380 .counters = (CounterObject * )NULL ,
381381};
382382
383+ /*
383384static int
384385_get_constant_semlock(PyObject *self)
385386{
@@ -405,7 +406,6 @@ _get_constant_semlock(PyObject *self)
405406 Py_DECREF(semlock_type);
406407 return 0;
407408
408- /* ---
409409 PyObject *py_shared_mem_name = PyDict_GetItemString(semlock_type->tp_dict,
410410 "_MACOSX_SHAREDMEM_NAME");
411411 if (py_shared_mem_name == NULL) {
@@ -432,8 +432,8 @@ _get_constant_semlock(PyObject *self)
432432 Py_DECREF(module);
433433 py_DECREF(py_name;
434434 Py_DECREF(semlock_type);
435- --- */
436435}
436+ -- */
437437
438438/*
439439SemLockObject with aditionnal members:
@@ -1517,7 +1517,7 @@ semlock_dealloc(SemLockObject* self)
15171517 So we have to search if sempahore already exists yet.
15181518 */
15191519 int n_opened_sems = -1 ;
1520- CounterObject * counter = NULL ;
1520+ // CounterObject *counter = NULL;
15211521
15221522 if (self -> handle_mutex != SEM_FAILED ) {
15231523 SEM_CLOSE (self -> handle_mutex );
You can’t perform that action at this time.
0 commit comments