]> git.e2factory.org Git - e2factory.git/commitdiff
bugfix: broken error handling due to duplicate use of local variable
authorGordon Hecker <gh@emlix.com>
Fri, 4 Dec 2009 11:23:31 +0000 (12:23 +0100)
committerGordon Hecker <gh@emlix.com>
Wed, 16 Dec 2009 11:41:58 +0000 (12:41 +0100)
Signed-off-by: Gordon Hecker <gh@emlix.com>
local/e2tool.lua

index 0dd9fdeb90e6b8cd4a45f9e6b9524600ec92375a..a701e1b9af76db10800cf9a34d95ee4ace3161a4 100644 (file)
@@ -652,7 +652,7 @@ The newest configuration syntax supported by the tools is %s.
   if not line then
     return false, e:cat(re)
   end
-  local s, e, l = string.find(line, "^%s*(%S+)%s*$")
+  local _, _, l = string.find(line, "^%s*(%S+)%s*$")
   if not l then
     return false, e:append("%s: can't parse project location",
                                        info.project_location_config)