[Scummvm-cvs-logs] scummvm master -> 1adc7f0bdd159e733959c24a122f593e3a006628

lordhoto lordhoto at gmail.com
Fri Feb 10 01:47:14 CET 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
1adc7f0bdd BASE: Remove unneeded code in PluginManagerUncached.


Commit: 1adc7f0bdd159e733959c24a122f593e3a006628
    https://github.com/scummvm/scummvm/commit/1adc7f0bdd159e733959c24a122f593e3a006628
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2012-02-09T16:45:16-08:00

Commit Message:
BASE: Remove unneeded code in PluginManagerUncached.

Thanks to Yotam for confirming that this isn't needed anymore.

Changed paths:
    base/plugins.cpp



diff --git a/base/plugins.cpp b/base/plugins.cpp
index df12d0d..db8a5d8 100644
--- a/base/plugins.cpp
+++ b/base/plugins.cpp
@@ -355,8 +355,6 @@ void PluginManagerUncached::init() {
 	unloadAllPlugins();
 	_allEnginePlugins.clear();
 
-	// Resize our pluginsInMem list to prevent fragmentation
-	_pluginsInMem[PLUGIN_TYPE_ENGINE].resize(2);
 	unloadPluginsExcept(PLUGIN_TYPE_ENGINE, NULL, false);	// empty the engine plugins
 
 	for (ProviderList::iterator pp = _providers.begin();






More information about the Scummvm-git-logs mailing list