[Lldb-commits] [PATCH] D130098: [LLDB][NFC][Reliability] Fix uninitialized variables from Coverity scan

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 19 14:21:33 PDT 2022


clayborg added inline comments.


================
Comment at: lldb/include/lldb/Core/EmulateInstruction.h:182
     eInfoTypeNoArgs
-  } InfoType;
+  };
 
----------------
fixathon wrote:
> clayborg wrote:
> > This doesn't fall into the un initialized variable case, I would revert this. You can always submit a new patch if you want to fix this.
> This is fixing Coverity scan warning 1094796 "Uninitialized scalar field".
> "Non-static class member InfoType is not initialized in this constructor nor in any functions that it calls"
Gotcha, ok to leave this in then!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130098



More information about the lldb-commits mailing list