]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fixed VS2008 compiler warnings, including what clearly looks like a bug!
authorRobert Joly <rjoly@nortel.com>
Sun, 15 Feb 2009 04:10:31 +0000 (04:10 +0000)
committerRobert Joly <rjoly@nortel.com>
Sun, 15 Feb 2009 04:10:31 +0000 (04:10 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12027 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_lcr/mod_lcr.c
w32/Library/FreeSwitchCore.2008.vcproj

index e899aa61580d298110e0da76b99d86a4bcd9ba86..691a66141f1fddcc632bfe562825f91de2c1cc4a 100644 (file)
@@ -565,7 +565,7 @@ static switch_status_t lcr_load_config()
                        switch_stream_handle_t order_by = { 0 };
                        switch_stream_handle_t pre_order = { 0 };
                        switch_stream_handle_t *thisorder = NULL;
-                       char *reorder_by_rate = SWITCH_FALSE;
+                       char *reorder_by_rate = NULL;
                        char *id_s = NULL;
                        char *custom_sql = NULL;
                        int argc, x = 0;
@@ -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);
                                }
                                
index bbc7db1634847f756a4ca80f1c568c90384df36f..911f0dce72ee767346b617d23ecefe2eeec4b5d5 100644 (file)
@@ -72,7 +72,7 @@
                                Name="VCLinkerTool"\r
                                LinkLibraryDependencies="true"\r
                                OutputFile="$(SolutionDir)$(ConfigurationName)/FreeSwitch.dll"\r
-                               LinkIncremental="1"\r
+                               LinkIncremental="2"\r
                                AdditionalLibraryDirectories="&quot;$(InputDir)..\..\libs\apr\$(OutDir)&quot;;&quot;$(InputDir)..\..\libs\sqlite\$(OutDir) DLL&quot;;&quot;$(InputDir)..\..\libs\apr-util\$(OutDir)&quot;;&quot;$(InputDir)..\..\libs\apr-iconv\$(OutDir)&quot;;&quot;$(InputDir)..\..\libs\libresample\win&quot;;&quot;$(InputDir)..\..\libs\srtp\$(OutDir)&quot;"\r
                                AddModuleNamesToAssembly=""\r
                                GenerateDebugInformation="true"\r