Skip to contentSkip to conversation

insane: remove unused variable assignment

PATCH New Ross Burton 1 participant 1 message Jan 26, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 insane: remove unused variable assignment

---
 meta/classes/insane.bbclass | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
meta/classes/insane.bbclass +4 -6
index 79d59d6..500a37c 100644
@@ -727,19 +727,17 @@ def package_qa_check_license(workdir, d):
 
 def package_qa_check_staged(path,d):
     """
-    Check staged la and pc files for sanity
-      -e.g. installed being false
+    Check staged la and pc files for common problems like references to the work
+    directory.
 
-        As this is run after every stage we should be able
-        to find the one responsible for the errors easily even
-        if we look at every .pc and .la file
+    As this is run after every stage we should be able to find the one
+    responsible for the errors easily even if we look at every .pc and .la file.
     """
 
     sane = True
     tmpdir = d.getVar('TMPDIR', True)
     workdir = os.path.join(tmpdir, "work")
 
-    installed = "installed=yes"
     if bb.data.inherits_class("native", d) or bb.data.inherits_class("cross", d):
         pkgconfigcheck = workdir
     else:
Signature · 1 line
2.6.4