fix compiler warning on unmatched return type
This commit is contained in:
parent
dd629c1516
commit
07030c63f0
|
@ -1296,7 +1296,9 @@ SWITCH_DECLARE(switch_bool_t) switch_cache_db_test_reactive(switch_cache_db_hand
|
|||
}
|
||||
|
||||
if (!switch_test_flag((&runtime), SCF_AUTO_SCHEMAS)) {
|
||||
return switch_cache_db_execute_sql(dbh, (char *)test_sql, NULL);
|
||||
switch_status_t status = switch_cache_db_execute_sql(dbh, (char *)test_sql, NULL);
|
||||
|
||||
return (status == SWITCH_STATUS_SUCCESS) ? SWITCH_TRUE : SWITCH_FALSE;
|
||||
}
|
||||
|
||||
if (io_mutex) switch_mutex_lock(io_mutex);
|
||||
|
|
Loading…
Reference in New Issue