diff options
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/mainwindow.cpp | 3 | ||||
-rw-r--r-- | src/qt/workers.cpp | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/qt/mainwindow.cpp b/src/qt/mainwindow.cpp index 15e5526..5bf013d 100644 --- a/src/qt/mainwindow.cpp +++ b/src/qt/mainwindow.cpp @@ -159,6 +159,9 @@ void MainWindow::workerResult(const enum Worker::Results_t& result) QMessageBox::information(this, windowTitle(), "Steam is not running" ); break; + default: + assert(0); + break; } in_progress = false; diff --git a/src/qt/workers.cpp b/src/qt/workers.cpp index a66061d..5c20f0e 100644 --- a/src/qt/workers.cpp +++ b/src/qt/workers.cpp @@ -231,6 +231,10 @@ int Worker::update_setup(int local_rev, int remote_rev) free(buf); } break; + + default: + assert(0); + break; } } @@ -334,6 +338,10 @@ void Worker::doWork(const enum Worker::Tasks_t ¶meter) { free(argv); } break; + + default: + assert(0); + break; } emit resultReady(result); |