Skip to content

Commit

Permalink
rlm_python: Fix marked unused complains (#2976)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpereira authored and arr2036 committed Sep 11, 2019
1 parent 420efe4 commit 6bee3f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rlm_python/rlm_python.c
Expand Up @@ -946,7 +946,7 @@ static int python_interpreter_init(rlm_python_t *inst, CONF_SECTION *conf)
return 0;
}

static void python_interpreter_free(rlm_python_t *inst, PyThreadState *interp)
static void python_interpreter_free(UNUSED rlm_python_t *inst, PyThreadState *interp)
{
PyEval_RestoreThread(interp); /* Switches thread state and locks GIL */
Py_EndInterpreter(interp); /* Destroys interpreter (GIL still locked) - sets thread state to NULL */
Expand Down

0 comments on commit 6bee3f9

Please sign in to comment.