aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui/mainwindow.cpp')
-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) {