Silenced two compiler warnings
[supertux.git] / src / video / video_system.cpp
index f515f56..dd736d0 100644 (file)
@@ -60,7 +60,7 @@ VideoSystem::create(VideoSystem::Enum video_system)
 
     default:
       assert(!"invalid video system in config");
-      break;
+      return {};
   }
 }