[asterisk-scf-commits] asterisk-scf/release/ice.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Fri Apr 15 10:44:45 CDT 2011
branch "master" has been updated
via 304b4d897c97c16699dddac79c68377b06a848f2 (commit)
via 2ec4539319ce0fbb3ad94e50932a9599401d08a9 (commit)
from dc89de88ece88403d83ae1b423d6de0b58aae948 (commit)
Summary of changes:
cpp/src/Slice/Parser.cpp | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 304b4d897c97c16699dddac79c68377b06a848f2
Merge: dc89de8 2ec4539
Author: Kevin P. Fleming <kpfleming at digium.com>
Date: Fri Apr 15 10:44:41 2011 -0500
Merge branch 'slice-plugins'
commit 2ec4539319ce0fbb3ad94e50932a9599401d08a9
Author: Kevin P. Fleming <kpfleming at digium.com>
Date: Fri Apr 15 10:43:45 2011 -0500
Allow plugins to add unnamed parameters to generated operations (so that the
resulting code won't generate an 'unused parameter' warning if the operation
has no code in its body).
diff --git a/cpp/src/Slice/Parser.cpp b/cpp/src/Slice/Parser.cpp
index 6b10e04..e6624d6 100644
--- a/cpp/src/Slice/Parser.cpp
+++ b/cpp/src/Slice/Parser.cpp
@@ -2119,6 +2119,11 @@ Slice::Container::Container(const UnitPtr& unit) :
void
Slice::Container::checkIdentifier(const string& name) const
{
+ if(name.size() == 0)
+ {
+ return;
+ }
+
//
// Weed out identifiers with reserved suffixes.
//
-----------------------------------------------------------------------
--
asterisk-scf/release/ice.git
More information about the asterisk-scf-commits
mailing list