CMake: Fix GCC warnings

warning: control reaches end of non-void function [-Wreturn-type]

https://stackoverflow.com/q/33607284/764870

Change-Id: Ia8d0a8d42d5db786c6800ab91a1ef790fe2387f1
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Orgad Shaneh
2020-04-25 21:13:56 +03:00
committed by Orgad Shaneh
parent abd3791bfe
commit 21e9947c21

View File

@@ -73,6 +73,8 @@ static QString readerTypeToString(const CMakeTool::ReaderType &type)
switch (type) { switch (type) {
case CMakeTool::FileApi: case CMakeTool::FileApi:
return QString(READER_TYPE_FILEAPI); return QString(READER_TYPE_FILEAPI);
default:
return QString();
} }
} }