[PATCH modular] Remove local variables.

Trevor Woerner twoerner at gmail.com
Sat Nov 13 05:13:03 PST 2010


From: Trevor Woerner <twoerner at gmail.com>

Fix build to work on Solaris 10, which doesn't understand the
'local' keyword.

Signed-off-by: Trevor Woerner <twoerner at gmail.com>
---
 build.sh |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/build.sh b/build.sh
index 69aef7f..f7b9517 100755
--- a/build.sh
+++ b/build.sh
@@ -259,8 +259,7 @@ clone() {
 #   0 - good
 #   1 - bad
 process() {
-    local rtn
-    local needs_config=0
+    needs_config=0
 
     # preconds
     if [ X"$1" = X ]; then
@@ -912,10 +911,6 @@ build_doc() {
 #   0 - good
 #   1 - bad
 process_module_file() {
-    local line
-    local module
-    local component
-
     # preconds
     if [ X"$MODFILE" = X ]; then
 	echo "internal process_module_file() error, \$MODFILE is empty"
-- 
1.7.3.2.164.g6f10c



More information about the xorg-devel mailing list