mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
block unimportant warnings in core.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@642 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -70,6 +70,8 @@ struct switch_loadable_module_container {
|
||||
static struct switch_loadable_module_container loadable_modules;
|
||||
|
||||
|
||||
#pragma warning( push )
|
||||
#pragma warning( disable : 4100 )
|
||||
static void *switch_loadable_module_exec(switch_thread *thread, void *obj)
|
||||
{
|
||||
switch_status status = SWITCH_STATUS_SUCCESS;
|
||||
@@ -92,6 +94,7 @@ static void *switch_loadable_module_exec(switch_thread *thread, void *obj)
|
||||
switch_yield(1000000);
|
||||
return NULL;
|
||||
}
|
||||
#pragma warning( pop )
|
||||
|
||||
static switch_status switch_loadable_module_load_file(char *filename, switch_memory_pool *pool,
|
||||
switch_loadable_module **new_module)
|
||||
@@ -505,6 +508,8 @@ SWITCH_DECLARE(int) switch_loadable_module_get_codecs(switch_memory_pool *pool,
|
||||
|
||||
}
|
||||
|
||||
#pragma warning( push )
|
||||
#pragma warning( disable : 4100 )
|
||||
SWITCH_DECLARE(int) switch_loadable_module_get_codecs_sorted(switch_memory_pool *pool, switch_codec_interface **array,
|
||||
int arraylen, char **prefs, int preflen)
|
||||
{
|
||||
@@ -522,6 +527,7 @@ SWITCH_DECLARE(int) switch_loadable_module_get_codecs_sorted(switch_memory_pool
|
||||
|
||||
return i;
|
||||
}
|
||||
#pragma warning( pop )
|
||||
|
||||
SWITCH_DECLARE(switch_status) switch_api_execute(char *cmd, char *arg, char *retbuf, size_t len)
|
||||
{
|
||||
|
Reference in New Issue
Block a user