diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2022-07-22 21:08:09 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2022-07-22 21:57:39 +0200 |
commit | 1de8b89807222b5673505fea2bec1af4c0af8c7d (patch) | |
tree | f0b7a5e08013114a5b3f927d93caa8f674775fa9 /src/qt | |
parent | e4cff606fccdb7b8ac1c9bf5204a6b52e296bfe9 (diff) | |
download | OFQT-1de8b89807222b5673505fea2bec1af4c0af8c7d.tar.gz OFQT-1de8b89807222b5673505fea2bec1af4c0af8c7d.zip |
Correct function prototypes,add more Cflags for sanity,add sanity assets
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); |