提交 a418b61f authored 作者: Robert Joly's avatar Robert Joly

Fixed VS2008 compiler warnings, including what clearly looks like a bug!

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12027 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 63eccfc9
...@@ -565,7 +565,7 @@ static switch_status_t lcr_load_config() ...@@ -565,7 +565,7 @@ static switch_status_t lcr_load_config()
switch_stream_handle_t order_by = { 0 }; switch_stream_handle_t order_by = { 0 };
switch_stream_handle_t pre_order = { 0 }; switch_stream_handle_t pre_order = { 0 };
switch_stream_handle_t *thisorder = NULL; switch_stream_handle_t *thisorder = NULL;
char *reorder_by_rate = SWITCH_FALSE; char *reorder_by_rate = NULL;
char *id_s = NULL; char *id_s = NULL;
char *custom_sql = NULL; char *custom_sql = NULL;
int argc, x = 0; int argc, x = 0;
...@@ -655,7 +655,7 @@ static switch_status_t lcr_load_config() ...@@ -655,7 +655,7 @@ static switch_status_t lcr_load_config()
} }
} }
if (!switch_strlen_zero("reorder_by_rate")) { if (!switch_strlen_zero(reorder_by_rate)) {
profile->reorder_by_rate = switch_true(reorder_by_rate); profile->reorder_by_rate = switch_true(reorder_by_rate);
} }
......
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
Name="VCLinkerTool" Name="VCLinkerTool"
LinkLibraryDependencies="true" LinkLibraryDependencies="true"
OutputFile="$(SolutionDir)$(ConfigurationName)/FreeSwitch.dll" OutputFile="$(SolutionDir)$(ConfigurationName)/FreeSwitch.dll"
LinkIncremental="1" LinkIncremental="2"
AdditionalLibraryDirectories=""$(InputDir)..\..\libs\apr\$(OutDir)";"$(InputDir)..\..\libs\sqlite\$(OutDir) DLL";"$(InputDir)..\..\libs\apr-util\$(OutDir)";"$(InputDir)..\..\libs\apr-iconv\$(OutDir)";"$(InputDir)..\..\libs\libresample\win";"$(InputDir)..\..\libs\srtp\$(OutDir)"" AdditionalLibraryDirectories=""$(InputDir)..\..\libs\apr\$(OutDir)";"$(InputDir)..\..\libs\sqlite\$(OutDir) DLL";"$(InputDir)..\..\libs\apr-util\$(OutDir)";"$(InputDir)..\..\libs\apr-iconv\$(OutDir)";"$(InputDir)..\..\libs\libresample\win";"$(InputDir)..\..\libs\srtp\$(OutDir)""
AddModuleNamesToAssembly="" AddModuleNamesToAssembly=""
GenerateDebugInformation="true" GenerateDebugInformation="true"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论