]> git.mxchange.org Git - simgear.git/commitdiff
Add missing return statements
authorTim Moore <timoore@redhat.com>
Sat, 18 Jul 2009 08:12:59 +0000 (10:12 +0200)
committerTim Moore <timoore@redhat.com>
Sat, 18 Jul 2009 08:12:59 +0000 (10:12 +0200)
simgear/scene/material/Effect.cxx
simgear/scene/material/Technique.hxx

index 259e6636daed894f1cd3912b0fa52b382016dee1..92ba1f9c3a38c62c362237b41aa1c76afdbea4a5 100644 (file)
@@ -861,6 +861,7 @@ bool Effect::realizeTechniques(const osgDB::ReaderWriter::Options* options)
          itr != e;
          ++itr)
         buildTechnique(this, *itr, options);
+    return true;
 }
 
 bool Effect_writeLocalData(const Object& obj, osgDB::Output& fw)
index 26aed909021edd0c3fc942f1cc4c331af256b06a..b2ce020f07166d26f0d536fbff6c6f66c352f2f4 100644 (file)
@@ -107,6 +107,7 @@ protected:
         ContextInfo& operator=(const ContextInfo& rhs)
         {
             valid = rhs.valid;
+            return *this;
         }
         Swappable<Status> valid;
     };