================
@@ -289,12 +286,8 @@ void LanguageRuntime::InitializeCommands(CommandObject 
*parent) {
   if (!parent->IsMultiwordObject())
     return;
 
-  LanguageRuntimeCreateInstance create_callback;
-
   for (uint32_t idx = 0;
-       (create_callback =
-            PluginManager::GetLanguageRuntimeCreateCallbackAtIndex(idx)) !=
-       nullptr;
----------------
kastiglione wrote:

I've noticed this unnecessary assignment in the for-loop before, thanks for 
deleting it.

https://github.com/llvm/llvm-project/pull/148773
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to