[asterisk-scf-commits] asterisk-scf/release/sip.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu May 26 15:18:43 CDT 2011


branch "master" has been updated
       via  b4996480a53d71759531ca0ddd8c78fc2b3c96aa (commit)
      from  50741df4192403a029c07a9348983023de1d8a3e (commit)

Summary of changes:
 src/PJSipSessionModule.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit b4996480a53d71759531ca0ddd8c78fc2b3c96aa
Author: David M. Lee <dlee at digium.com>
Date:   Thu May 26 15:18:27 2011 -0500

    Fixed warning about missing while() clause

diff --git a/src/PJSipSessionModule.cpp b/src/PJSipSessionModule.cpp
index 57d5df6..234c29a 100644
--- a/src/PJSipSessionModule.cpp
+++ b/src/PJSipSessionModule.cpp
@@ -1574,7 +1574,9 @@ void SessionWork::emptied()
 
 void SessionWork::execute()
 {
-    while(mInternalQueue->executeWork());
+    while(mInternalQueue->executeWork()) {
+        // no-op
+    }
 }
 
 void SessionWork::enqueueWork(const SuspendableWorkPtr& work)

-----------------------------------------------------------------------


-- 
asterisk-scf/release/sip.git



More information about the asterisk-scf-commits mailing list