From 94095c7890f491d7023b1a69b3f088be8c05e898 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Wed, 17 Jul 2019 21:03:36 +0200 Subject: Enable CLI version to use simple assembler. Signed-off-by: Pavel Pisa --- qtmips_gui/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qtmips_gui') 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) { -- cgit v1.2.3