提交 dc5d69c1 authored 作者: Jeff Lenk's avatar Jeff Lenk

FSBUILD-221 fix several trivial warnings

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16041 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 96abcd5e
......@@ -891,7 +891,7 @@ createServerBare(xmlrpc_env * const envP,
-----------------------------------------------------------------------------*/
bool socketBound;
unsigned int portNumber = 0;
TOsSocket socketFd = NULL;
TOsSocket socketFd = 0;
const char * logFileName;
extractServerCreateParms(envP, parmsP, parmSize,
......
......@@ -181,7 +181,7 @@ static switch_xml_config_item_t config_settings[] = {
static switch_status_t do_config()
{
switch_cache_db_handle_t *dbh;
switch_cache_db_handle_t *dbh = NULL;
switch_status_t status = SWITCH_STATUS_SUCCESS;
char *sql = NULL;
......
......@@ -314,7 +314,7 @@ static void find_beep(vmd_session_info_t * vmd_info, switch_frame_t * frame)
if (c < (POINTS - MAX_CHIRP)) {
vmd_info->state = BEEP_NOT_DETECTED;
if (vmd_info->timestamp < vmd_info->minTime) {
if (vmd_info->timestamp < (switch_size_t)vmd_info->minTime) {
break;
}
......
......@@ -2309,7 +2309,7 @@ static switch_bool_t match_profile(mdl_profile_t *profile, mdl_profile_t *new_pr
(new_profile->context && profile->context && !strcasecmp(new_profile->context, profile->context))) &&
(new_profile->user_flags == profile->user_flags) && (new_profile->acl_count == profile->acl_count)
) {
int i;
uint32_t i;
if (switch_odbc_available()) {
if (!(
((!new_profile->odbc_dsn && !profile->odbc_dsn) ||
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论