diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-04-15 12:42:52 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-04-15 13:40:14 +0200 |
commit | 76d8170ce8b4714657f8defd791bd30fef1a8de4 (patch) | |
tree | 472ba344e555831384860a691374d50f116fe2f5 /src/qt/editaddressdialog.cpp | |
parent | 87207a2e08b8ce829e9f9839675637596f204f99 (diff) |
fix warnings: enumeration values 'XX' not handled in switch [-Wswitch-enum]
Diffstat (limited to 'src/qt/editaddressdialog.cpp')
-rw-r--r-- | src/qt/editaddressdialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/editaddressdialog.cpp b/src/qt/editaddressdialog.cpp index 8cc3c85d7a..cecb8aecd7 100644 --- a/src/qt/editaddressdialog.cpp +++ b/src/qt/editaddressdialog.cpp @@ -106,6 +106,9 @@ void EditAddressDialog::accept() tr("New key generation failed."), QMessageBox::Ok, QMessageBox::Ok); return; + case AddressTableModel::OK: + // Failed with unknown reason. Just reject. + break; } return; |