From: Ingo Ruhnke Date: Sun, 31 Aug 2014 05:13:13 +0000 (+0200) Subject: Silenced two compiler warnings X-Git-Url: https://git.octo.it/?p=supertux.git;a=commitdiff_plain;h=1b0e66b3b40159027706a4e0df0677cd801ed0b4 Silenced two compiler warnings --- 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 {}; } }