aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-07-17 21:03:36 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-07-17 21:03:36 +0200
commit94095c7890f491d7023b1a69b3f088be8c05e898 (patch)
tree4e609f0253430361d084586e15dddcacd7c84e80 /qtmips_gui
parent4885535c9e1da9b1a718125273bfe76933c7fff8 (diff)
downloadqtmips-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.cpp2
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) {