Skip to content

Commit

Permalink
mv variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Sep 24, 2024
1 parent 3409b7a commit 216969f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/aerospike.c
Original file line number Diff line number Diff line change
Expand Up @@ -559,9 +559,9 @@ PyMODINIT_FUNC PyInit_aerospike(void)
unsigned long i = 0;
int retval;
for (i = 0; i < sizeof(py_submodules) / sizeof(py_submodules[0]); i++) {
PyObject *(*create_pyobject)(void) =
PyObject *(*create_py_submodule)(void) =
py_submodules[i].pyobject_creation_method;
PyObject *py_submodule = create_pyobject();
PyObject *py_submodule = create_py_submodule();
if (py_submodule == NULL) {
goto GLOBAL_HOSTS_CLEANUP_ON_ERROR;
}
Expand Down

0 comments on commit 216969f

Please sign in to comment.