Mercurial > octave
changeset 24666:03546fb2490f
file-editor-tab.cc: Fix compilation warning about unused variable.
* file-editor-tab.cc (check_valid_codec): Don't declare a variable to capture
the unused output of QMessageBox::Critical.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 01 Feb 2018 12:50:17 -0800 |
parents | 4a9793818fca |
children | 56f889d66b7c |
files | libgui/src/m-editor/file-editor-tab.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor-tab.cc Thu Feb 01 10:54:18 2018 -0800 +++ b/libgui/src/m-editor/file-editor-tab.cc Thu Feb 01 12:50:17 2018 -0800 @@ -2294,7 +2294,7 @@ { if (! codec) { - int ans = QMessageBox::critical (nullptr, + QMessageBox::critical (nullptr, tr ("Octave Editor"), tr ("The current codec %1\n" "can not be applied.\n\n"