certi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-dev] IEEE1516 RIambassador Checking if (&Object == NULL)


From: Eric Noulard
Subject: [certi-dev] IEEE1516 RIambassador Checking if (&Object == NULL)
Date: Wed, 10 Nov 2010 15:00:36 +0100

Hi All,
[may be Jeroen in the first place],

in RTI1516ambassador.cpp there is checking code like:

if ( &theUserSuppliedTag == NULL || theUserSuppliedTag.data() == NULL)
                {
                        throw RTIinternalError(L"Calling updateAttributeValues 
with Tag NULL");
                }


since 'theUserSuppliedTag' is an argument passed as const reference how could

&theUserSuppliedTag == NULL

ever be true?
Am I missing something?

I think we may just suppress this part of the check, could anyone tell
me if I'm wrong?
-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]