FSBUILD-221 fix several trivial warnings

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16041 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Jeff Lenk committed 2009-12-23 03:44:42 +00:00
1 parent 96abcd5efd
commit dc5d69c104
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;
}