*************************************************************************/
int rlm_sql_query(rlm_sql_handle_t **handle, rlm_sql_t *inst, char const *query)
{
- int ret;
+ int ret = -1;
/*
* If there's no query, return an error.
}
if (!*handle || !(*handle)->conn) {
- ret = -1;
goto sql_down;
}
*************************************************************************/
int rlm_sql_select_query(rlm_sql_handle_t **handle, rlm_sql_t *inst, char const *query)
{
- int ret;
+ int ret = -1;
/*
* If there's no query, return an error.
}
if (!*handle || !(*handle)->conn) {
- ret = -1;
goto sql_down;
}