Commit ac161159 authored by Harald Sitter's avatar Harald Sitter 🏳️‍🌈
Browse files

return after unreachable

technically this is still reachable in release builds
parent 5146722f
......@@ -186,6 +186,7 @@ public:
}
qFatal("unexpected systeminfo key %s\n", qUtf8Printable(key));
Q_UNREACHABLE();
return ki18nc("@label unknown entry in table", "Unknown:");
}
#if defined(Q_OS_LINUX) || defined(Q_OS_ANDROID)
......@@ -202,6 +203,7 @@ public:
}
qFatal("unexpected devicetree property %s\n", qUtf8Printable(fdtNode));
Q_UNREACHABLE();
return ki18nc("@label unknown entry in table", "Unknown:");
}
QString fdtGetValue(const QString &fdtNode)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment