[Xen-devel,OSSTEST,07/17] mfi-common: restrict scope of local vars in create_build_jobs

Message ID 1390384501-20552-7-git-send-email-ian.campbell@citrix.com
State New
Headers show

Commit Message

Ian Campbell Jan. 22, 2014, 9:54 a.m.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
 mfi-common | 7 +++++++
 1 file changed, 7 insertions(+)

Patch

diff --git a/mfi-common b/mfi-common
index 3342acc..28c3f3f 100644
--- a/mfi-common
+++ b/mfi-common
@@ -33,6 +33,13 @@  stripy () {
 
 create_build_jobs () {
 
+  local arch
+  local pvops_kernel pvops_kconfig_overrides
+  local suite suite_runvars
+  local want_xend build_defxend build_extraxend
+  local enable_ovmf
+  local build_hostflags
+
   for arch in ${BUILD_ARCHES- i386 amd64 armhf }; do
 
     if [ "x$arch" = xdisable ]; then continue; fi