Add missing breaks

Coveity issues 23333, 23334 and 23348.
This commit is contained in:
Jean-Marc 2015-09-12 19:58:15 +02:00
parent d786d98c36
commit 4e4b2e224e

View File

@ -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)