[Lldb-commits] [PATCH] D23951: Remove unused any_found local variable
Taras Tsugrii via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 26 19:07:07 PDT 2016
wttsugrii created this revision.
wttsugrii added a reviewer: granata.enrico.
wttsugrii added a subscriber: lldb-commits.
any_found variable is not used anywhere and can be safely removed.
https://reviews.llvm.org/D23951
Files:
source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
Index: source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
===================================================================
--- source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
+++ source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
@@ -1751,7 +1751,6 @@
bool success = false;
- bool any_found = false;
diagnostics.Clear();
@@ -1812,7 +1811,7 @@
process->GetByteOrder(),
addr_size);
- any_found = (ParseClassInfoArray (class_infos_data, num_class_infos) > 0);
+ ParseClassInfoArray (class_infos_data, num_class_infos);
}
}
else
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23951.69459.patch
Type: text/x-patch
Size: 820 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160827/96ea42f1/attachment.bin>
More information about the lldb-commits
mailing list