Commit baea8798 authored by Nils Goroll's avatar Nils Goroll

gc unused variable b(ranch)

parent a6da61ed
......@@ -827,13 +827,7 @@ if os.path.isdir(os.path.join(srcroot, ".git")):
" show -s --pretty=format:%H"
], shell=True, universal_newlines=True)
v = v.strip()
b = subprocess.check_output([
"git --git-dir=" + os.path.join(srcroot, ".git") +
" rev-parse --abbrev-ref HEAD"
], shell=True, universal_newlines=True)
b = b.strip()
else:
b = "NOGIT"
v = "NOGIT"
vcsfn = os.path.join(srcroot, "include", "vcs_version.h")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment