[gnome-code-assistance] [backends/c] Do not try cache in when determining targets



commit b439e3ca9973e5b573e93afabb97c18ef48a1899
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Tue Nov 12 18:52:58 2013 +0100

    [backends/c] Do not try cache in when determining targets

 backends/c/makefileintegration.py |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/backends/c/makefileintegration.py b/backends/c/makefileintegration.py
index bf70b2e..33a57f7 100644
--- a/backends/c/makefileintegration.py
+++ b/backends/c/makefileintegration.py
@@ -246,14 +246,6 @@ class MakefileIntegration:
         return len(regs)
 
     def _targets_from_make(self, makefile, source):
-        try:
-            m = self._cache[makefile]
-
-            if m.up_to_date_for(source):
-                return m.flags_for_file(source)
-        except KeyError:
-            pass
-
         wd = os.path.dirname(makefile)
 
         lookfor = [


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]