[Lldb-commits] [lldb] r229083 - Remove an unused variable found with a Clang warning.

Chandler Carruth chandlerc at gmail.com
Fri Feb 13 00:04:18 PST 2015


Author: chandlerc
Date: Fri Feb 13 02:04:18 2015
New Revision: 229083

URL: http://llvm.org/viewvc/llvm-project?rev=229083&view=rev
Log:
Remove an unused variable found with a Clang warning.

Modified:
    lldb/trunk/source/Host/linux/HostInfoLinux.cpp

Modified: lldb/trunk/source/Host/linux/HostInfoLinux.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/linux/HostInfoLinux.cpp?rev=229083&r1=229082&r2=229083&view=diff
==============================================================================
--- lldb/trunk/source/Host/linux/HostInfoLinux.cpp (original)
+++ lldb/trunk/source/Host/linux/HostInfoLinux.cpp Fri Feb 13 02:04:18 2015
@@ -120,7 +120,6 @@ HostInfoLinux::GetDistributionId()
 {
     // Try to run 'lbs_release -i', and use that response
     // for the distribution id.
-    static bool success = false;
     static std::once_flag g_once_flag;
     std::call_once(g_once_flag,  []() {
 





More information about the lldb-commits mailing list