]> git.e2factory.org Git - e2factory.git/commitdiff
fix undeclared variable in git module
authorGordon Hecker <gh@emlix.com>
Tue, 22 Sep 2009 12:15:01 +0000 (14:15 +0200)
committerGordon Hecker <gh@emlix.com>
Fri, 2 Oct 2009 10:40:07 +0000 (12:40 +0200)
Signed-off-by: Gordon Hecker <gh@emlix.com>
local/git.lua

index a72f2539ce5445aab93fd2afc8fa84e0d01b2063..1f3d248195439e09d652d2819211e47da3ee1a53 100644 (file)
@@ -642,6 +642,7 @@ end
 -- @return an error string
 function git.sourceid(info, sourcename, sourceset)
        local src = info.sources[sourcename]
+       local e
        if not src.sourceid then
                src.sourceid = {}
                src.sourceid["working-copy"] = "working-copy"