From: Tim Moore Date: Sat, 18 Jul 2009 08:12:59 +0000 (+0200) Subject: Add missing return statements X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4943d3aa53a262e380c4f922de3952d0677edd50;p=simgear.git Add missing return statements --- diff --git a/simgear/scene/material/Effect.cxx b/simgear/scene/material/Effect.cxx index 259e6636..92ba1f9c 100644 --- a/simgear/scene/material/Effect.cxx +++ b/simgear/scene/material/Effect.cxx @@ -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) diff --git a/simgear/scene/material/Technique.hxx b/simgear/scene/material/Technique.hxx index 26aed909..b2ce020f 100644 --- a/simgear/scene/material/Technique.hxx +++ b/simgear/scene/material/Technique.hxx @@ -107,6 +107,7 @@ protected: ContextInfo& operator=(const ContextInfo& rhs) { valid = rhs.valid; + return *this; } Swappable valid; };