diff options
| author | Xusheng <xusheng@vector35.com> | 2023-09-20 12:46:10 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2023-09-20 12:46:10 +0800 |
| commit | af2e0455c082239b21bceffbaa1684f795cb1452 (patch) | |
| tree | 7eb9bf4247acc8e478c14f60f86f7d15ed2bee6a /ui | |
| parent | 2f415e3da3a417160c07928cc8b91f42eddbac3f (diff) | |
Properly initialize m_resultAmbiguous in various address dialogs
Diffstat (limited to 'ui')
| -rw-r--r-- | ui/addressdialog.h | 6 |
1 files 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); |
