From 1b0e66b3b40159027706a4e0df0677cd801ed0b4 Mon Sep 17 00:00:00 2001 From: Ingo Ruhnke Date: Sun, 31 Aug 2014 07:13:13 +0200 Subject: [PATCH] Silenced two compiler warnings --- src/object/bicycle_platform.cpp | 2 +- src/video/video_system.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/object/bicycle_platform.cpp b/src/object/bicycle_platform.cpp index 7387f72d7..43a8a6836 100644 --- a/src/object/bicycle_platform.cpp +++ b/src/object/bicycle_platform.cpp @@ -38,7 +38,7 @@ BicyclePlatform::BicyclePlatform(const Reader& reader) : } BicyclePlatform::BicyclePlatform(BicyclePlatform* master_) : - MovingSprite(*master), + MovingSprite(*master_), master(master_), slave(this), center(master->center), diff --git a/src/video/video_system.cpp b/src/video/video_system.cpp index f515f566c..dd736d0c7 100644 --- a/src/video/video_system.cpp +++ b/src/video/video_system.cpp @@ -60,7 +60,7 @@ VideoSystem::create(VideoSystem::Enum video_system) default: assert(!"invalid video system in config"); - break; + return {}; } } -- 2.11.0