From 5fdc4aa4e737047fd9554ef28e32a973729b3d3e Mon Sep 17 00:00:00 2001 From: Victor Zarubkin Date: Mon, 20 Nov 2017 21:57:42 +0300 Subject: [PATCH] #0 [GUI] Warning fix: typo, forgotten return --- profiler_gui/common_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler_gui/common_types.h b/profiler_gui/common_types.h index 1bf1ae0..ef58d07 100644 --- a/profiler_gui/common_types.h +++ b/profiler_gui/common_types.h @@ -470,7 +470,7 @@ inline QString valueString(const ::profiler::ArbitraryValue& _serializedValue) case ::profiler::DataType::Float: return QString::number(_serializedValue.convertToValue()->value()); case ::profiler::DataType::Double: return QString::number(_serializedValue.convertToValue()->value()); case ::profiler::DataType::String: return _serializedValue.data(); - default: QStringLiteral("Unknown"); + default: return QStringLiteral("Unknown"); } }