> > When compiling sipxregister it errors out with
> > no-return-in-nonvoid-function here:
> > SipRedirectorPresenceRouting.cpp:737
> >
> > I can exclude this error in the compile but I'm not sure
> its a false
> > positive?
> >
> > OsStatus PresenceRoutingUserPreferences::parseDocument(
> > TiXmlDocument* pDoc ) {
> > OsLock lock( mMutex );
> > TiXmlNode* presenceRoutingNode;
> > mUserVmOnDndPreferences.destroyAll();
> > if( (presenceRoutingNode =
> > pDoc->FirstChild("presenceRoutingPrefs")) != NULL &&
> > presenceRoutingNode->Type() == TiXmlNode::ELEMENT)
> > {
> > // Find all the <user> elements.
> > for( TiXmlNode* userNode = 0;
> > (userNode = presenceRoutingNode->IterateChildren(
> > "user", userNode )); )
> > {
> > if (userNode->Type() == TiXmlNode::ELEMENT)
> > {
> > TiXmlNode* pChildNode;
> > if( ( pChildNode = userNode->FirstChild(
> "userName" ) ) &&
> > pChildNode->FirstChild() )
> > {
> > UtlString* pUsername = new UtlString(
> > pChildNode->FirstChild()->Value() );
> > if( ( pChildNode = userNode->FirstChild(
> "vmOnDnd" ) )
> > && pChildNode->FirstChild() )
> > {
> > UtlString vmOnDndAsString =
> > pChildNode->FirstChild()->Value();
> > UtlBool* pbVmOnDnd = new UtlBool( FALSE );
> > if( vmOnDndAsString.compareTo("true",
> > UtlString::ignoreCase) == 0 )
> > {
> > pbVmOnDnd->setValue(TRUE);
> > }
> > mUserVmOnDndPreferences.insertKeyAndValue(
> > pUsername, pbVmOnDnd );
> > OsSysLog::add( FAC_NAT, PRI_DEBUG,
> > "PresenceRoutingUserPreferences::parseDocument added %s %d"
> > ,pUsername->data(),
> > pbVmOnDnd->getValue());
> > }
> > }
> > }
> > }
> > }
> > }
>
> I'll fix that today. Thanks for reporting it.
Fixed in revision R18698.
_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/