diff --git a/engines/sci/resource/resource.cpp b/engines/sci/resource/resource.cpp index d9f8a9728d4..eef3f9ea67c 100644 --- a/engines/sci/resource/resource.cpp +++ b/engines/sci/resource/resource.cpp @@ -267,7 +267,6 @@ ResourceSource::~ResourceSource() { MacResourceForkResourceSource::MacResourceForkResourceSource(const Common::String &name, int volNum) : ResourceSource(kSourceMacResourceFork, name, volNum) { _macResMan = new Common::MacResManager(); - assert(_macResMan); } MacResourceForkResourceSource::~MacResourceForkResourceSource() { diff --git a/engines/sci/resource/resource_patcher.cpp b/engines/sci/resource/resource_patcher.cpp index 63d3f974a92..ad16e5f84ba 100644 --- a/engines/sci/resource/resource_patcher.cpp +++ b/engines/sci/resource/resource_patcher.cpp @@ -577,7 +577,6 @@ void ResourcePatcher::patchResource(Resource &resource, const GameResourcePatch assert(newSize > 0); target = new byte[newSize]; - assert(target); oldData = resource._data; resource._data = target; diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index 58f0b349263..150cc676d71 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -258,7 +258,6 @@ extern int showScummVMDialog(const Common::U32String &message, const Common::U32 Common::Error SciEngine::run() { _resMan = new ResourceManager(); - assert(_resMan); _resMan->addAppropriateSources(); _resMan->init(); diff --git a/engines/sci/sound/drivers/cms.cpp b/engines/sci/sound/drivers/cms.cpp index f7347616ccf..b7004cd0737 100644 --- a/engines/sci/sound/drivers/cms.cpp +++ b/engines/sci/sound/drivers/cms.cpp @@ -768,7 +768,6 @@ int MidiDriver_CMS::open() { _rate = _mixer->getOutputRate(); _cms = new CMSEmulator(_rate); - assert(_cms); for (uint i = 0; i < ARRAYSIZE(_channel); ++i) _channel[i] = Channel();