certi-cvs
[Top][All Lists]
Advanced

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

[certi-cvs] certi/RTIA ObjectManagement.cc


From: CERTI CVS commits
Subject: [certi-cvs] certi/RTIA ObjectManagement.cc
Date: Mon, 03 Oct 2011 09:17:52 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      11/10/03 09:17:52

Modified files:
        RTIA           : ObjectManagement.cc 

Log message:
        Less compiler warnings

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/RTIA/ObjectManagement.cc?cvsroot=certi&r1=3.76&r2=3.77

Patches:
Index: ObjectManagement.cc
===================================================================
RCS file: /sources/certi/certi/RTIA/ObjectManagement.cc,v
retrieving revision 3.76
retrieving revision 3.77
diff -u -b -r3.76 -r3.77
--- ObjectManagement.cc 11 Jul 2011 11:17:24 -0000      3.76
+++ ObjectManagement.cc 3 Oct 2011 09:17:52 -0000       3.77
@@ -800,12 +800,13 @@
        try {
                handle = 
rootObject->ObjectClasses->getObjectClassHandle(theName);
                G.Out(pdGendoc,"exit  ObjectManagement::getObjectClassHandle");
-               return handle;
+
        }
        catch (NameNotFound&) {
                G.Out(pdGendoc,"exit  ObjectManagement::getObjectClassHandle on 
NameNotFound");
                throw NameNotFound(theName);
        }
+    return handle;
 }
 
 
@@ -845,12 +846,13 @@
                handle = rootObject->ObjectClasses->getAttributeHandle(theName,
                                theClassHandle);
                G.Out(pdGendoc,"exit  ObjectManagement::getAttributeHandle");
-               return handle;
+
        }
        catch (NameNotFound&) {
                G.Out(pdGendoc,"exit  ObjectManagement::getAttributeHandle on 
NameNotFound");
                throw NameNotFound(theName);
        }
+    return handle;
 }
 
 // ----------------------------------------------------------------------------



reply via email to

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