Browse code

Clean up local variable usage - Remainder

Minor cleanups in a couple ofplaces:
* Config funtions
* Stackforge
* TLS

Combined a couple of smaller changesets that are loosly related

Change-Id: Ifa16f2e4c0eca0ef3401c0dfdc4f3d91809021a5

Dean Troyer authored on 2014/07/26 04:57:54
Showing 2 changed files
... ...
@@ -110,6 +110,7 @@ function merge_config_group {
110 110
 
111 111
     [[ -r $localfile ]] || return 0
112 112
 
113
+    local configfile group
113 114
     for group in $matchgroups; do
114 115
         for configfile in $(get_meta_section_files $localfile $group); do
115 116
             if [[ -d $(dirname $(eval "echo $configfile")) ]]; then
... ...
@@ -84,6 +84,7 @@ function create_CA_base {
84 84
         return 0
85 85
     fi
86 86
 
87
+    local i
87 88
     for i in certs crl newcerts private; do
88 89
         mkdir -p $ca_dir/$i
89 90
     done