summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorSzabolcs David <davidsz@inf.u-szeged.hu>2019-03-13 17:07:24 +0100
committerSzabolcs David <davidsz@inf.u-szeged.hu>2019-03-14 12:34:25 +0000
commit809afc26fe0c47b249cf11376c8ea484a2bfaaf1 (patch)
tree431ac46486702a9cb8174ee51b15b26506fe8a0a /src/core
parentefb0cbc61b64800b175d7b45ee4febe1462c26c1 (diff)
Fix compile time warning in profile_qt.cpp
profile_qt.cpp:210:1: warning: no return statement in function returning non-void [-Wreturn-type] Change-Id: Icdd5355a503b3bdbc8b1073e26f5b3b230fff7e0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core')
-rw-r--r--src/core/profile_qt.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/profile_qt.cpp b/src/core/profile_qt.cpp
index 3bfbcd3a2..39500629a 100644
--- a/src/core/profile_qt.cpp
+++ b/src/core/profile_qt.cpp
@@ -206,6 +206,8 @@ content::BrowserPluginGuestManager *ProfileQt::GetGuestManager()
{
#if BUILDFLAG(ENABLE_EXTENSIONS)
return guest_view::GuestViewManager::FromBrowserContext(this);
+#else
+ return nullptr;
#endif
}