Fix msvc build configurations so debug builds all debug modules and release builds all release modules. Fix a few warnings in switch_core.c.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@221 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2005-12-28 07:01:21 +00:00
parent 4945ad6381
commit 49f595176d
2 changed files with 31 additions and 31 deletions

View File

@@ -522,7 +522,7 @@ SWITCH_DECLARE(void *) switch_core_permenant_alloc(size_t memory)
SWITCH_DECLARE(char *) switch_core_permenant_strdup(char *todup)
{
char *duped = NULL;
int len;
size_t len;
assert(runtime.memory_pool != NULL);
@@ -537,7 +537,7 @@ SWITCH_DECLARE(char *) switch_core_permenant_strdup(char *todup)
SWITCH_DECLARE(char *) switch_core_session_strdup(switch_core_session *session, char *todup)
{
char *duped = NULL;
int len;
size_t len;
assert(session != NULL);
assert(session->pool != NULL);
@@ -553,7 +553,7 @@ SWITCH_DECLARE(char *) switch_core_session_strdup(switch_core_session *session,
SWITCH_DECLARE(char *) switch_core_strdup(switch_memory_pool *pool, char *todup)
{
char *duped = NULL;
int len;
size_t len;
assert(pool != NULL);
assert(todup != NULL);