From ef9eedf35ae7a98505658889f221299f47e377a9 Mon Sep 17 00:00:00 2001 From: Florent Rougon Date: Sat, 15 Apr 2017 09:33:27 +0200 Subject: [PATCH] Fix misleading indentation in sg_path.cxx (g++ warning) --- simgear/misc/sg_path.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/simgear/misc/sg_path.cxx b/simgear/misc/sg_path.cxx index a736fa67..7d17d3c2 100644 --- a/simgear/misc/sg_path.cxx +++ b/simgear/misc/sg_path.cxx @@ -532,10 +532,11 @@ void SGPath::validate() const //------------------------------------------------------------------------------ void SGPath::checkAccess() const { - if( _rwCached && _cacheEnabled ) + if ( _rwCached && _cacheEnabled ) { return; + } - validate(); + validate(); _rwCached = true; }