From 4e4b2e224e156c7267daa7c147f833c6eb489436 Mon Sep 17 00:00:00 2001 From: Jean-Marc Date: Sat, 12 Sep 2015 19:58:15 +0200 Subject: [PATCH] Add missing breaks Coveity issues 23333, 23334 and 23348. --- src/frontends/qt4/GuiAlert.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontends/qt4/GuiAlert.cpp b/src/frontends/qt4/GuiAlert.cpp index 14cce933e4..4c9b1628ff 100644 --- a/src/frontends/qt4/GuiAlert.cpp +++ b/src/frontends/qt4/GuiAlert.cpp @@ -82,9 +82,9 @@ int doPrompt(docstring const & title0, docstring const & question, lyxerr << "Assuming answer is "; switch (default_button) { - case 0: lyxerr << b1 << endl; - case 1: lyxerr << b2 << endl; - case 2: lyxerr << b3 << endl; + case 0: lyxerr << b1 << endl; break; + case 1: lyxerr << b2 << endl; break; + case 2: lyxerr << b3 << endl; break; case 3: lyxerr << b4 << endl; } if (!use_gui)