From 4943d3aa53a262e380c4f922de3952d0677edd50 Mon Sep 17 00:00:00 2001 From: Tim Moore Date: Sat, 18 Jul 2009 10:12:59 +0200 Subject: [PATCH] Add missing return statements --- simgear/scene/material/Effect.cxx | 1 + simgear/scene/material/Technique.hxx | 1 + 2 files changed, 2 insertions(+) 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; }; -- 2.39.5