Remove unused variables

Address the 'variable set but not used' warning from GCC.  In some cases a few
additional calls were removed where there should be no visible side effects of
the calls (i.e. should not effect any cached state).

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@210879 91177308-0d34-0410-b5e6-96231b3b80d8
Core: address comparison of signed and unsigned types

Add a cast to ensure that the comparison is done with the same sign type.
Identified by GCC.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@210880 91177308-0d34-0410-b5e6-96231b3b80d8
Interpreter: explicitly initialize base class

Initialise base class std::enable_shared_from_this explicitly.  Identified by
GCC.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@210881 91177308-0d34-0410-b5e6-96231b3b80d8
Interpreter: kill some dead code

Remove commented out code and an unnecessary associated scope.  No functional
change.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@210882 91177308-0d34-0410-b5e6-96231b3b80d8