diff options
author | Szabolcs David <davidsz@inf.u-szeged.hu> | 2019-03-13 17:07:24 +0100 |
---|---|---|
committer | Szabolcs David <davidsz@inf.u-szeged.hu> | 2019-03-14 12:34:25 +0000 |
commit | 809afc26fe0c47b249cf11376c8ea484a2bfaaf1 (patch) | |
tree | 431ac46486702a9cb8174ee51b15b26506fe8a0a /src | |
parent | efb0cbc61b64800b175d7b45ee4febe1462c26c1 (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')
-rw-r--r-- | src/core/profile_qt.cpp | 2 |
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 } |