diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-12 11:26:13 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-12 11:26:13 +0200 |
commit | c1b6d154724a64d8a46bc95de1e23e614bfcbc75 (patch) | |
tree | f9cd2ec135b99d20060112ce131d04fbcde2d2c5 /vcl | |
parent | 81ad706b95ea0e350cf5ccc8fcb18ca4b375bffa (diff) |
Massage code to avoid warnings
Change-Id: Id86085e60c588d80ae50e8e5af07f2065b89048c
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/dialog.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx index c90d72a256ef..e7c9992969ff 100644 --- a/vcl/source/window/dialog.cxx +++ b/vcl/source/window/dialog.cxx @@ -811,9 +811,7 @@ bool Dialog::ImplStartExecuteModal() "Dialog \"" << ImplGetDialogText(this).getStr() << "\"cancelled in silent mode"); return false; - default: - assert(false && "this cannot happen"); - // fall through + default: // default cannot happen case Application::DIALOG_CANCEL_FATAL: std::abort(); } |