BASE=../../../..
LOCAL_OBJS=media_gateway.o media_gateway_stack.o media_gateway_xml.o media_gateway_cli.o media_gateway_stack_alarms.o media_gateway_cmd_handler.o media_gateway_utils.o media_gateway_packages.o
+LOCAL_CFLAGS=-fno-strict-aliasing
LOCAL_LDFLAGS=-lsng_mg
include $(BASE)/build/modmake.rules
/* Returns a fresh new context */
mg_context_t *megaco_choose_context(megaco_profile_t *profile)
{
- mg_context_t *ctx;
+ mg_context_t *ctx=NULL;
switch_thread_rwlock_wrlock(profile->contexts_rwlock);
/* Try the next one */