diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-07-17 21:03:36 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-07-17 21:03:36 +0200 |
commit | 94095c7890f491d7023b1a69b3f088be8c05e898 (patch) | |
tree | 4e609f0253430361d084586e15dddcacd7c84e80 /qtmips_gui | |
parent | 4885535c9e1da9b1a718125273bfe76933c7fff8 (diff) | |
download | qtmips-94095c7890f491d7023b1a69b3f088be8c05e898.tar.gz qtmips-94095c7890f491d7023b1a69b3f088be8c05e898.tar.bz2 qtmips-94095c7890f491d7023b1a69b3f088be8c05e898.zip |
Enable CLI version to use simple assembler.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui')
-rw-r--r-- | qtmips_gui/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_gui/mainwindow.cpp b/qtmips_gui/mainwindow.cpp index 19299c0..a201b24 100644 --- a/qtmips_gui/mainwindow.cpp +++ b/qtmips_gui/mainwindow.cpp @@ -701,7 +701,7 @@ void MainWindow::message_selected(messagetype::Type type, QString file, int line void MainWindow::compile_source() { SymbolTableDb symtab(machine->symbol_table_rw(true)); - bool error_occured; + bool error_occured = false; if (current_srceditor == nullptr) return; if (machine == nullptr) { |