summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2019-10-03 21:56:59 +0000
committerHaibo Huang <hhb@google.com>2019-10-03 21:56:59 +0000
commit48b38c93bc02fd3625118100d0d74224ee25fd2e (patch)
tree2feefc989ee9673f90ae4816eb041bcfda2fb309 /lldb/scripts/Python
parent958091c209d0a92e38b9cb27fb77a0ff7da11853 (diff)
downloadbcm5719-llvm-48b38c93bc02fd3625118100d0d74224ee25fd2e.tar.gz
bcm5719-llvm-48b38c93bc02fd3625118100d0d74224ee25fd2e.zip
[lldb] Remove unused variables.
Fixes the comment in https://reviews.llvm.org/D67993 llvm-svn: 373669
Diffstat (limited to 'lldb/scripts/Python')
-rw-r--r--lldb/scripts/Python/finishSwigPythonLLDB.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/lldb/scripts/Python/finishSwigPythonLLDB.py b/lldb/scripts/Python/finishSwigPythonLLDB.py
index d23e10328ec..d4d53a85248 100644
--- a/lldb/scripts/Python/finishSwigPythonLLDB.py
+++ b/lldb/scripts/Python/finishSwigPythonLLDB.py
@@ -371,16 +371,11 @@ def make_symlink(
vstrSrcFile,
vstrTargetFile):
dbg = utilsDebug.CDebugFnVerbose("Python script make_symlink()")
- bOk = True
- strErrMsg = ""
- bDbg = "-d" in vDictArgs
strTarget = os.path.join(vstrFrameworkPythonDir, vstrTargetFile)
strTarget = os.path.normcase(strTarget)
strPrefix = vDictArgs['--prefix']
os.chdir(vstrFrameworkPythonDir)
- bMakeFileCalled = "-m" in vDictArgs
- eOSType = utilsOsType.determine_os_type()
strSrc = os.path.normcase(os.path.join(strPrefix, vstrSrcFile))
strRelSrc = os.path.relpath(strSrc, os.path.dirname(strTarget))
OpenPOWER on IntegriCloud