[Orxonox-commit 3989] r8663 - code/branches/presentation/src/libraries/core

dafrick at orxonox.net dafrick at orxonox.net
Sun May 29 17:24:39 CEST 2011


Author: dafrick
Date: 2011-05-29 17:24:39 +0200 (Sun, 29 May 2011)
New Revision: 8663

Modified:
   code/branches/presentation/src/libraries/core/BaseObject.cc
Log:
Fixing warning.


Modified: code/branches/presentation/src/libraries/core/BaseObject.cc
===================================================================
--- code/branches/presentation/src/libraries/core/BaseObject.cc	2011-05-29 15:24:04 UTC (rev 8662)
+++ code/branches/presentation/src/libraries/core/BaseObject.cc	2011-05-29 15:24:39 UTC (rev 8663)
@@ -201,6 +201,7 @@
             
             Template* link;
             assert(!(link = Template::getTemplate(temp->getLink())) || !link->isLink());
+            link = NULL;
         }
         else
             this->networkTemplateNames_.insert(temp->getName());




More information about the Orxonox-commit mailing list