From: Mikko Rasa Date: Fri, 8 Jun 2012 07:22:07 +0000 (+0300) Subject: Check the existence of dependencies beforehand rather than catching the exception X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=b959a6bfd1a878fe814f43daa2b9d43bb0fbcb52;p=builder.git Check the existence of dependencies beforehand rather than catching the exception --- diff --git a/source/csourcefile.cpp b/source/csourcefile.cpp index c231784..7c4c453 100644 --- a/source/csourcefile.cpp +++ b/source/csourcefile.cpp @@ -29,20 +29,11 @@ void CSourceFile::find_depends() const SourcePackage &spkg = comp->get_package(); string relname = FS::relative(path, spkg.get_source()).str(); - DependencyCache &deps_cache = spkg.get_deps_cache(); - bool deps_found = false; - if(mtime