From af2e0455c082239b21bceffbaa1684f795cb1452 Mon Sep 17 00:00:00 2001 From: Xusheng Date: Wed, 20 Sep 2023 12:46:10 +0800 Subject: Properly initialize m_resultAmbiguous in various address dialogs --- ui/addressdialog.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/addressdialog.h b/ui/addressdialog.h index 822feec0..f250409d 100644 --- a/ui/addressdialog.h +++ b/ui/addressdialog.h @@ -43,7 +43,7 @@ class BINARYNINJAUIAPI AddressDialogWithPreview : public QDialog QString m_prompt; bool m_initialTextSelection; std::string m_errorString; - bool m_resultAmbiguous; + bool m_resultAmbiguous = false; void commitHistory(); void customEvent(QEvent* event); @@ -84,7 +84,7 @@ class BINARYNINJAUIAPI FileOffsetDialogWithPreview : public QDialog QString m_prompt; bool m_initialTextSelection; std::string m_errorString; - bool m_resultAmbiguous; + bool m_resultAmbiguous = false; void commitHistory(); @@ -128,7 +128,7 @@ class BINARYNINJAUIAPI AddUserXrefDialog : public QDialog QString m_prompt; bool m_initialTextSelection; std::string m_errorString; - bool m_resultAmbiguous; + bool m_resultAmbiguous = false; void commitHistory(); void customEvent(QEvent* event); -- cgit v1.3.1