[Lldb-commits] [lldb] r373669 - [lldb] Remove unused variables.

Haibo Huang via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 3 14:56:59 PDT 2019


Author: hhb
Date: Thu Oct  3 14:56:59 2019
New Revision: 373669

URL: http://llvm.org/viewvc/llvm-project?rev=373669&view=rev
Log:
[lldb] Remove unused variables.

Fixes the comment in https://reviews.llvm.org/D67993

Modified:
    lldb/trunk/scripts/Python/finishSwigPythonLLDB.py

Modified: lldb/trunk/scripts/Python/finishSwigPythonLLDB.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/finishSwigPythonLLDB.py?rev=373669&r1=373668&r2=373669&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/finishSwigPythonLLDB.py (original)
+++ lldb/trunk/scripts/Python/finishSwigPythonLLDB.py Thu Oct  3 14:56:59 2019
@@ -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))




More information about the lldb-commits mailing list