[Lldb-commits] [PATCH] D67915: [LLDB] Fix logically dead code

Konrad Wilhelm Kleine via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 23 07:04:50 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL372608: [LLDB] Fix logically dead code (authored by kwk, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D67915?vs=221318&id=221323#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67915/new/

https://reviews.llvm.org/D67915

Files:
  lldb/trunk/include/lldb/Core/LoadedModuleInfoList.h


Index: lldb/trunk/include/lldb/Core/LoadedModuleInfoList.h
===================================================================
--- lldb/trunk/include/lldb/Core/LoadedModuleInfoList.h
+++ lldb/trunk/include/lldb/Core/LoadedModuleInfoList.h
@@ -84,9 +84,6 @@
     }
 
     bool operator==(LoadedModuleInfo const &rhs) const {
-      if (e_num != rhs.e_num)
-        return false;
-
       for (size_t i = 0; i < e_num; ++i) {
         if (m_has[i] != rhs.m_has[i])
           return false;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67915.221323.patch
Type: text/x-patch
Size: 488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190923/7f02ab10/attachment.bin>


More information about the lldb-commits mailing list